GuanLab / Leopard

16 stars 5 forks source link

Possible bug with input file location #2

Closed michael-kotliar closed 4 years ago

michael-kotliar commented 4 years ago

It looks like this line has a bug. Perhaps, it should be something like this path_computer='data/'

Traceback (most recent call last):
  File "code_1bp/predict.py", line 76, in <module>
    dict_dna[the_id]=pyBigWig.open(path1 + the_id + '.bigwig')
RuntimeError: Received an error during file opening!
[urlOpen] Couldn't open ../data/dna_bigwig/A.bigwig for reading
[urlOpen] Couldn't open ../data/dna_bigwig/A.bigwig for reading
Hongyang449 commented 4 years ago

You are right (I have subfolders when I developed this code). Now I have fixed the path bug in predict.py and it should be fine now. Thanks!

michael-kotliar commented 4 years ago

Cool! Thanks!