Skip to content

Commit

Permalink
sort values before print
Browse files Browse the repository at this point in the history
  • Loading branch information
lpantano committed Sep 16, 2024
1 parent 4558892 commit 9cf3c19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 9cf3c19

Please sign in to comment.