bulik/ldsc

Error with 'python mtag.py -h'

Closed this issue · 0 comments

Hi there,

When I try to run mtag, and even try to check the options using python mtag.py -h, I get the following error:

Traceback (most recent call last):
File "/gpfs3/well/davies/users/smg484/MTAG/mtag/mtag.py", line 19, in
from ldsc_mod.ldscore import sumstats as sumstats_sig
File "/gpfs3/well/davies/users/smg484/MTAG/mtag/ldsc_mod/ldscore/sumstats.py", line 16, in
from ldsc_mod.ldscore import regressions as reg
File "/gpfs3/well/davies/users/smg484/MTAG/mtag/ldsc_mod/ldscore/regressions.py", line 16, in
from ldsc_mod.ldscore.irwls import IRWLS
File "/gpfs3/well/davies/users/smg484/MTAG/mtag/ldsc_mod/ldscore/irwls.py", line 116
print 'IRWLS update:', new_w.shape, w.shape
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('IRWLS update:', new_w.shape, w.shape)?

Any suggestions would be great, thank you.