Skip to content

Commit

Permalink
Modified gff3_sort.py and version
Browse files Browse the repository at this point in the history
  • Loading branch information
ShangYuChiang committed Apr 21, 2021
1 parent dcfcbe3 commit 3313760
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gff3tool/bin/gff3_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def TwoParent(Child_id,third):
#the input argument, Child_id is the id of second-level features (eg. mRNA, ncRNA, and etc.) and third is third-level features (eg. exon, CDS, and etc.)
attributes = third['attributes'].copy()
attributes['Parent'] = Child_id
attributes_line = ";".join("=".join((str(k),str(v))) for k,v in attributes.iteritems())
attributes_line = ";".join("=".join((str(k),str(v))) for k,v in attributes.items())
line_new = third['line_raw'].split('\t')
line_new[8] = attributes_line + "\n"
line_update = "\t".join(line_new)
Expand Down
2 changes: 1 addition & 1 deletion gff3tool/bin/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
"""Version of GFF3toolkit"""
__version__ = '2.0.2'
__version__ = '2.0.3'

0 comments on commit 3313760

Please sign in to comment.