Commit f15f7dd 1 parent 2e256bd commit f15f7dd Copy full SHA for f15f7dd
File tree 1 file changed +5
-2
lines changed
src/org/broad/igv/feature/tribble
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,11 @@ public void readHeaderLine(String line) {
128
128
trackProperties = new TrackProperties ();
129
129
ParsingUtils .parseTrackLine (line , trackProperties );
130
130
header .setTrackProperties (trackProperties );
131
- } else if (line .startsWith ("##gff-version" ) && line .endsWith ("3" )) {
132
- helper = new GFF3Helper ();
131
+ } else if (line .startsWith ("##gff-version" ) && line .contains ("3" )) {
132
+ String [] tokens = Globals .whitespacePattern .split (line );
133
+ if (tokens .length > 1 && tokens [1 ].startsWith ("3" )) {
134
+ helper = new GFF3Helper ();
135
+ }
133
136
} else if (line .startsWith ("#nodecode" ) || line .startsWith ("##nodecode" )) {
134
137
helper .setUrlDecoding (false );
135
138
} else if (line .startsWith ("#hide" ) || line .startsWith ("##hide" )) {
You can’t perform that action at this time.
0 commit comments