Closed jiangpuxuan closed 1 year ago
Hi, The "util" library refers to the local util folder available in this github repository (not an external library). If you have CODer.py and util in the same folder (i.e. clone the repository) this should work. You can also try adding the path to the PYTHONPATH variable. Hope this helps, Diogo
Hi, The "util" library refers to the local util folder available in this github repository (not an external library). If you have CODer.py and util in the same folder (i.e. clone the repository) this should work. You can also try adding the path to the PYTHONPATH variable. Hope this helps, Diogo
Thank you for your help !
Hi, The "util" library refers to the local util folder available in this github repository (not an external library). If you have CODer.py and util in the same folder (i.e. clone the repository) this should work. You can also try adding the path to the PYTHONPATH variable. Hope this helps, Diogo
I check my directory and the "util" library is right there.
But where could I find cod.util
?
Traceback (most recent call last):
File "/Array-Tuqiang/pxjiang/packages/sc_cop-main/CODer.py", line 15, in <module>
from util.Logger import Logger
File "/Array-Tuqiang/pxjiang/packages/sc_cop-main/util/Logger.py", line 6, in <module>
from cod.util import Constants
ModuleNotFoundError: No module named 'cod.util'
Thanks for ponting this out, some paths were outdated. I have fixed this and pushed the changes, if you git pull it should work now. By the way, I have added a test input matrix that can serve as example on test/test_expression_matrix_chr21_chr18.bed
Cheers, Diogo
When I ran
CODer.py
, it have the following error:Then I turned to
CODer.py
code:My python is 3.8.10 and it have
python_utils
instead ofutil
packages. Butpython_utils
does not seem to haveutil.Stats
:How could I run
CODer.py
withpython_utils
? Or should we create a virtual environment for usingCODer.py
?