mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Fix GFF3 reader bug.
This commit is contained in:
@@ -217,7 +217,7 @@ class GFFReaderWrapper( NiceReaderWrapper ):
|
||||
# GFF3 test:
|
||||
parent_id = interval.attributes.get( 'Parent', None )
|
||||
cur_id = interval.attributes.get( 'ID', None )
|
||||
if feature_id and parent_id != feature_parent_id and feature_id != cur_id:
|
||||
if ( cur_id and cur_id != feature_id ) or ( parent_id and parent_id != feature_id ):
|
||||
break
|
||||
# GTF test:
|
||||
gene_id = interval.attributes.get( 'gene_id', None )
|
||||
|
||||
Reference in New Issue
Block a user