cuelee / pleio

17 stars 6 forks source link

TypeError: can't multiply sequence by non-int of type 'numpy.float64' when running ldspreprocesses #22

Open kneekooo opened 1 year ago

kneekooo commented 1 year ago

When submitting the following call:

./ldsc_preprocess.py --input /user/pleio_package/CUDle_TUD/pleio/CUDle_TUD_input.txt --ref-ld-chr /user/pleio_package/CUDle_TUD/pleio/eur_w_ld_chr/ --w-ld-chr /user/pleio_package/CUDle_TUD/pleio/eur_w_ld_chr/ --out /user/pleio_package/CUDle_TUD/pleio/CUDle_TUDv1

It results in the following error: TypeError: can't multiply sequence by non-int of type 'numpy.float64'

This creates the indicated directory of /user/pleio_package/CUDle_TUD/pleio/CUDle_TUDv1 with /temp/TobDep_postLDSC_h2.log, but it is a blank document.

The environment during this call has the following versions of the ldsc packages: bitarray 1.2.1 certifi 2019.11.28 nose 1.3.7 numpy 1.16.0 pandas 0.24.2 pip 20.1.1 pybedtools 0.8.1 pysam 0.14.1 python-dateutil 2.8.1 pytz 2020.1 scipy 0.18.0 setuptools 44.0.0.post20200106 six 1.16.0 wheel 0.37.1

When running this call with the provided versions of the ldsc environment creating call, it also results in the same output.

Any help with this would be greatly appreciated!