bulik / ldsc

LD Score Regression (LDSC)
GNU General Public License v3.0
652 stars 345 forks source link

Problem with irwls #300

Open wzxiao1217 opened 3 years ago

wzxiao1217 commented 3 years ago

Hi, I have trouble with "irwls", I can't find the package named "irwls", and the original erorr message is below:

"...../ldsc/ldscore/regressions.py", line 15, in from irwls import IRWLS ModuleNotFoundError: No module named 'irwls'

Thank you! Zixiao

MenglinC commented 2 years ago

irwls is means the file irwls.py in the same directory of idscore.py. so,just put the code in the regressions.py

import sys
sys.path.append("/home/xxzhang/workplace/software/ldsc-master/ldscore/")
from irwls import IRWLS

Hope this may help you!