Skip to content

Commit

Permalink
Merge pull request #89 from miRTop/issue_83
Browse files Browse the repository at this point in the history
sort values before print
  • Loading branch information
lpantano authored Sep 16, 2024
2 parents 4558892 + f01b07d commit 603f45c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
0.4.27
0.4.28

* fix random order in Variant field [#84](https://github.com/miRTop/mirtop/issues/83)

0.4.27

* fix possible duplication of lines [#80](https://github.com/miRTop/mirtop/issues/80)
* accept prefix for gff output [#84](https://github.com/miRTop/mirtop/issues/84)

Expand Down
2 changes: 1 addition & 1 deletion mirtop/mirna/realign.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def formatGFF(self):
value.append("iso_3p:%s%s" % (direction, size))
if not value:
value = ["NA"]
return ",".join(list(set(value)))
return ",".join(sorted(list(set(value))))

def format(self, sep="\t"):
"""Create tabular line from variant fields."""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
from setuptools import setup, find_packages

version = '0.4.27'
version = '0.4.28'
url = 'http://github.com/mirtop/mirtop'


Expand Down

0 comments on commit 603f45c

Please sign in to comment.