Skip to content

Commit

Permalink
Merge pull request #111 from NAL-i5K/version2.0.3
Browse files Browse the repository at this point in the history
Modified gff3_sort.py and version
  • Loading branch information
mpoelchau committed Apr 21, 2021
2 parents dcfcbe3 + d71555b commit 576b392
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ matrix:
- os: linux
language: ruby
python: 3.7
rvm: 2.2
rvm: 2.4
before_script: gem install awesome_bot
script: awesome_bot --allow-redirect --allow-dupe README.md docs/*.md # only this instance will check the documents

Expand Down
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 576b392

Please sign in to comment.