/usr/share/pyshared/MACS2/Constants.py is in macs 2.0.9.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | MACS_VERSION = "2.0.9 20111102 (tag:alpha)"
MACSDIFF_VERSION = "1.0.2 20111021 (tag:alpha)"
FILTERDUP_VERSION = "1.0.0 20110906"
RANDSAMPLE_VERSION = "1.0.0 20111102"
MAX_PAIRNUM = 1000
MAX_LAMBDA = 100000
FESTEP = 20
from array import array
if array('h',[1]).itemsize == 2:
BYTE2 = 'h'
else:
raise Exception("BYTE2 type cannot be determined!")
if array('H',[1]).itemsize == 2:
UBYTE2 = 'H'
else:
raise Exception("UBYTE2 (unsigned short) type cannot be determined!")
if array('i',[1]).itemsize == 4:
BYTE4 = 'i'
elif array('l',[1]).itemsize == 4:
BYTE4 = 'l'
else:
raise Exception("BYTE4 type cannot be determined!")
if array('f',[1]).itemsize == 4:
FBYTE4 = 'f'
elif array('d',[1]).itemsize == 4:
FBYTE4 = 'd'
else:
raise Exception("FBYTE4 type cannot be determined!")
|