XiaoTaoWang / EagleC

A deep-learning framework for predicting a full range of structural variations from bulk and single-cell contact maps
Other
51 stars 8 forks source link

UnboundLocalError: local variable 'cnn_models' referenced before assignment #28

Closed wangY1min closed 1 year ago

wangY1min commented 1 year ago

Hi Xiaotao,

Thanks for your work. I was trying to use the predictSV-single-resolution function, since there came an error:

Traceback (most recent call last):
  File "/XXX/miniconda3/envs/EagleC/bin/predictSV-single-resolution", line 275, in <module>
    run()
  File "/XXX/miniconda3/envs/EagleC/bin/predictSV-single-resolution", line 226, in run
    intra_expected_count = intraPredict(clr, cnn_models, chroms, cache_folder, seq_depth,
UnboundLocalError: local variable 'cnn_models' referenced before assignment

I think there could be a bug in the scoreUtils.cpython-38-x86_64-linux-gnu.so file, but I can't edit to fix it. Could you please help me to deal with that?

Cheers, Yimin