Skip to content
Snippets Groups Projects
Commit 2cb2fe3e authored by tcarver's avatar tcarver
Browse files

fix for writing GFF qualifiers and stripping out current=

parent 75b1d23f
No related branches found
No related tags found
No related merge requests found
...@@ -820,7 +820,7 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements ...@@ -820,7 +820,7 @@ public class GFFStreamFeature extends SimpleDocumentFeature implements
int index = values.elementAt(value_index).indexOf(";current="); int index = values.elementAt(value_index).indexOf(";current=");
if (index > -1) if (index > -1)
this_value = GFF3Encoder.encode(values.elementAt(value_index) this_value = GFF3Encoder.encode(values.elementAt(value_index)
.substring(0, index - 1)); .substring(0, index));
else else
this_value = GFF3Encoder.encode(values.elementAt(value_index)); this_value = GFF3Encoder.encode(values.elementAt(value_index));
if (value_index > 0 && value_index < (values.size())) { if (value_index > 0 && value_index < (values.size())) {
......
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