]> git.donarmstrong.com Git - biopieces.git/commitdiff
more verbose grab output
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 16 May 2013 09:04:37 +0000 (09:04 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 16 May 2013 09:04:37 +0000 (09:04 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@2172 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/grab

index 76e333a0f646929fbc41adb9df5984b6396015cb..b034f2de42ca047a93550cecf9bcaab9f2d457c2 100755 (executable)
@@ -139,6 +139,8 @@ if ( $options->{ 'verbose' } )
 {
     print STDERR "Records grabbed: $grabbed\n";
     print STDERR "Records missed: " . ( $total - $grabbed ) . "\n";
+    print STDERR "Patterns used: " . ( scalar @{$patterns} ) . "\n" if defined $patterns;
+    print STDERR "Patterns used: " . ( scalar keys %lookup_hash ) . "\n" if %lookup_hash;
 }