Skip to content
Snippets Groups Projects
Commit 5760c4d8 authored by tcarver's avatar tcarver
Browse files

allow for the description to follow the ID string

parent deb870cd
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,12 @@ public class FeatureContigPredicate implements FeaturePredicate
public boolean testPredicate(Feature feature)
{
if(feature.getIDString().trim().equals(contigName))
String id = feature.getIDString().trim();
if(id.equals(contigName))
return true;
// allow for description in the ID
if(id.startsWith(contigName+" "))
return true;
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment