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
Branches
Tags
No related merge requests found
...@@ -36,7 +36,12 @@ public class FeatureContigPredicate implements FeaturePredicate ...@@ -36,7 +36,12 @@ public class FeatureContigPredicate implements FeaturePredicate
public boolean testPredicate(Feature feature) 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 true;
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment