Skip to content

Commit 9772f0b

Browse files
committed
update python version requirement (2.7)
1 parent 1b1ea00 commit 9772f0b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

prepDE.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
from math import ceil
44
from optparse import OptionParser
55
from operator import itemgetter
6-
#note that the gtf files in the sample folders have same # of lines, just different order(?)
6+
7+
MIN_PYTHON = (2, 7)
8+
if sys.version_info < MIN_PYTHON:
9+
sys.exit("Python %s.%s or later is required.\n" % MIN_PYTHON)
710

811
parser=OptionParser(description='Generates two CSV files containing the count matrices for genes and transcripts, using the coverage values found in the output of `stringtie -e`')
912
parser.add_option('-i', '--input', '--in', default='ballgown', help="the parent directory of the sample sub-directories or a textfile listing the paths to GTF files [default: %default]")

0 commit comments

Comments
 (0)