Skip to content
Snippets Groups Projects
Commit 8a400b78 authored by tjc's avatar tjc
Browse files

fix for non-database gff

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@8762 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent d97b1856
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,10 @@ public class ClusterLazyQualifierValue implements LazyQualifierValue
{
final List featureIds = new Vector();
String f_id[] = ArtemisUtils.getString(strings, "object_id=").split("=");
if(f_id.length < 2)
return value;
featureIds.add( Integer.valueOf(f_id[1]) );
final Document document = ((DocumentEntry)feature.getEntry()).getDocument();
clusters = ((DatabaseDocument)document).getClustersByFeatureIds(featureIds);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment