]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed bug in grab
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 17 Nov 2011 20:06:24 +0000 (20:06 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Thu, 17 Nov 2011 20:06:24 +0000 (20:06 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1663 74ccb610-7750-0410-82ae-013aeee3265d

code_perl/Maasha/Patscan.pm

index 6de7368570988f87eb74a17721f77a96f95cdda8..386b6e4c7542c114587d6301d0b88e39d2a03839 100644 (file)
@@ -59,7 +59,7 @@ sub read_patterns
 
     while ( $line = <$fh> )
     {
-        $line =~ s/\r\n//g;
+        $line =~ s/\r|\n//g;
 
         next if $line eq "";