Skip to content

Commit

Permalink
Fix recursion issue in gff_filter_by_feature_count
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Sep 5, 2018
1 parent 548b9c8 commit 2d36e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/datatypes/util/gff_util.py
Expand Up @@ -188,7 +188,7 @@ def handle_parse_error(e):
if not self.seed_interval:
while not self.seed_interval:
try:
self.seed_interval = GenomicIntervalReader.next(self)
self.seed_interval = super(GenomicIntervalReader, self).__next__()
except ParseError as e:
handle_parse_error(e)
# TODO: When no longer supporting python 2.4 use finally:
Expand All @@ -215,7 +215,7 @@ def handle_parse_error(e):
feature_intervals.append(self.seed_interval)
while True:
try:
interval = GenomicIntervalReader.next(self)
interval = super(GenomicIntervalReader, self).__next__()
raw_size += len(self.current_line)
except StopIteration as e:
# No more intervals to read, but last feature needs to be
Expand Down

0 comments on commit 2d36e89

Please sign in to comment.