Closed LawrenceLiu023 closed 1 month ago
Thank you for reporting this issue. We will address it soon.
When installing from GitHub, the cnvpytor -download
step is unnecessary. This step is only required when cnvpytor is installed from PyPI, as resource files are not included in the PyPI repository due to size limitations.
Thank you for your response. I encountered the error when running the command cnvpytor -root file.pytor -rd file.bam
. Later, I found that the command cnvpytor -download
also produced the same error. So I listed the latter command because it is easier to reproduce the same error.
cnvpytor -root file.pytor -rd file.bam
should work with python 3.12 after last few updates. Please try again to clone repository and install cnvpytor and let us know if there is still error. Thanks.
I tried to reproduce the error for Python 3.12.4 on multiple systems, including Ubuntu 22.04.. However, I was unable to replicate the issue. It might be a network problem on your end.
I tried downloading the release v1.3.1 source code zip file and installing it with pip install .
. None of the above errors occurred in either the Python 3.12.4 or 3.11.9 environment. Then I noticed that the /cnvpytor/version.py
file contains different version information. The version.py
file obtained by running git clone https://github.com/abyzovlab/CNVpytor.git
contains __version__='1.3.2'
, but the same file in the release v1.3.1 source code zip file contains __version__='1.3.1'
. The genome.py
file which the above error log mentioned is also different. Maybe the difference between the repository content and the release source code caused this issue.
Environment:
cnvpytor is installed by following commands:
Command:
Output:
This issue may be related to the change in python3.12. The same command can be successfully executed in a python 3.11.9 environment.