Open zmli0831 opened 4 months ago
Question occrred after i submit the code like this: python3 /home/zmli/LD/mixer/mixer/precimed/mixer.py fit1 \ --trait1-file /home/biostat2/DiskC/zmli/LDMAF0.05/sim/casualrate/01/h1rg2/1/mixer/V1.csv.gz \ --out /home/biostat2/DiskC/zmli/LDMAF0.05/sim/casualrate/01/h1rg2/1/mixer/V1.rep1 \ --extract /home/biostat2/DiskC/zmli/LDMAF0.05/sim/ref/mixer/maf0p05_rand1M_r2p8.rep1.snps \ --bim-file /home/biostat2/DiskC/zmli/LDMAF0.05/sim/bed/chr@.bim \ --ld-file /home/biostat2/DiskC/zmli/LDMAF0.05/sim/ref/mixer/chr@.run4.ld \ --lib /home/zmli/LD/mixer/mixer/src/build/lib/libbgmg.so
ctypes.ArgumentError: argument 5: TypeError: array must have data type float32
Dear friends, how can i solve this question? Thank you very much!
Question occrred after i submit the code like this: python3 /home/zmli/LD/mixer/mixer/precimed/mixer.py fit1 \ --trait1-file /home/biostat2/DiskC/zmli/LDMAF0.05/sim/casualrate/01/h1rg2/1/mixer/V1.csv.gz \ --out /home/biostat2/DiskC/zmli/LDMAF0.05/sim/casualrate/01/h1rg2/1/mixer/V1.rep1 \ --extract /home/biostat2/DiskC/zmli/LDMAF0.05/sim/ref/mixer/maf0p05_rand1M_r2p8.rep1.snps \ --bim-file /home/biostat2/DiskC/zmli/LDMAF0.05/sim/bed/chr@.bim \ --ld-file /home/biostat2/DiskC/zmli/LDMAF0.05/sim/ref/mixer/chr@.run4.ld \ --lib /home/zmli/LD/mixer/mixer/src/build/lib/libbgmg.so
ctypes.ArgumentError: argument 5: TypeError: array must have data type float32
Dear friends, how can i solve this question? Thank you very much!