Skip to content

Commit

Permalink
Fix python3 formatting problem in gff3.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoelchau committed Dec 29, 2020
1 parent d0ea535 commit 49497d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gff3tool/lib/gff3/gff3.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def check_phase(self, initial_phase):
strand_set = list(set([line['strand'] for line in cds_list]))
if len(strand_set) != 1:
for line in cds_list:
self.add_line_error(line, {'message': 'Inconsistent CDS strand with parent: {0:s}'.format(k), 'error_type': 'STRAND', 'eCode': 'Ema0007'})
self.add_line_error(line, {'message': 'Inconsistent CDS strand with parent: {0:s}'.format(str(k)), 'error_type': 'STRAND', 'eCode': 'Ema0007'})
continue
if initial_phase:
if len(cds_list) == 1:
Expand Down

0 comments on commit 49497d9

Please sign in to comment.