Skip to content

Commit 603f45c

Browse files
authored
Merge pull request #89 from miRTop/issue_83
sort values before print
2 parents 4558892 + f01b07d commit 603f45c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

HISTORY.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
0.4.27
1+
0.4.28
22

33
* fix random order in Variant field [#84](https://github.com/miRTop/mirtop/issues/83)
4+
5+
0.4.27
6+
47
* fix possible duplication of lines [#80](https://github.com/miRTop/mirtop/issues/80)
58
* accept prefix for gff output [#84](https://github.com/miRTop/mirtop/issues/84)
69

mirtop/mirna/realign.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def formatGFF(self):
9494
value.append("iso_3p:%s%s" % (direction, size))
9595
if not value:
9696
value = ["NA"]
97-
return ",".join(list(set(value)))
97+
return ",".join(sorted(list(set(value))))
9898

9999
def format(self, sep="\t"):
100100
"""Create tabular line from variant fields."""

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
from setuptools import setup, find_packages
55

6-
version = '0.4.27'
6+
version = '0.4.28'
77
url = 'http://github.com/mirtop/mirtop'
88

99

0 commit comments

Comments
 (0)