Skip to content

Instantly share code, notes, and snippets.

@pcantalupo
Created November 16, 2012 23:24
Show Gist options
  • Save pcantalupo/4091855 to your computer and use it in GitHub Desktop.
Save pcantalupo/4091855 to your computer and use it in GitHub Desktop.
fixing bug3376 bioperl
commit cd0e4415fbed27a6e8362d124f857e1edc78c88e
Author: Paul Cantalupo <pcantalupo@gmail.com>
Date: Fri Nov 16 12:56:19 2012 -0500
fixing bug 3376
diff --git a/Bio/SearchIO/hmmer2.pm b/Bio/SearchIO/hmmer2.pm
index 9ef726c..b0ced06 100644
--- a/Bio/SearchIO/hmmer2.pm
+++ b/Bio/SearchIO/hmmer2.pm
@@ -862,7 +862,8 @@ sub next_result {
}
elsif (CORE::length($_) == 0
|| ( $count != 1 && /^\s+$/o )
- || /^\s+\-?\*\s*$/ )
+ || /^\s+\-?\*\s*$/
+ || /^.+\-\s+\-\s*$/ )
{
next;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment