Describe the bug
The tool crashes if built or installed directly via python requirements. This seems to be related to a Cython update that does not support the "long" type. If you can lock the cython version in your project.toml it might help (we are checking now)
CRITICAL @ Fri, 16 May 2025 17:02:58 (0.5% done):
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/CRISPResso2/CRISPRessoCORE.py", line 1429, in main
aln_matrix = CRISPResso2Align.read_matrix(aln_matrix_loc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "CRISPResso2/CRISPResso2Align.pyx", line 43, in CRISPResso2.CRISPResso2Align.read_matrix
File "CRISPResso2/CRISPResso2Align.pyx", line 51, in CRISPResso2.CRISPResso2Align.read_matrix
NameError: name 'long' is not defined
CRITICAL @ Fri, 16 May 2025 17:02:58 (0.5% done):
Unexpected error, please check your input.
ERROR: name 'long' is not defined
Expected behavior
Tool to run properly
To reproduce
Install CRISPResso via requirement file CRISPResso2 @git+https://github.com/pinellolab/CRISPResso2.git@v2.3.2 or clone and build
Obviously we run it in a docker container that has fastp
Debug output
Paste the entire output when you run CRISPResso with the flag --debug.
Describe the bug
The tool crashes if built or installed directly via python requirements. This seems to be related to a Cython update that does not support the "long" type. If you can lock the cython version in your project.toml it might help (we are checking now)
CRITICAL @ Fri, 16 May 2025 17:02:58 (0.5% done): Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/CRISPResso2/CRISPRessoCORE.py", line 1429, in main aln_matrix = CRISPResso2Align.read_matrix(aln_matrix_loc) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "CRISPResso2/CRISPResso2Align.pyx", line 43, in CRISPResso2.CRISPResso2Align.read_matrix File "CRISPResso2/CRISPResso2Align.pyx", line 51, in CRISPResso2.CRISPResso2Align.read_matrix NameError: name 'long' is not defined CRITICAL @ Fri, 16 May 2025 17:02:58 (0.5% done): Unexpected error, please check your input. ERROR: name 'long' is not definedExpected behavior
Tool to run properly
To reproduce
Install CRISPResso via requirement file
CRISPResso2 @git+https://github.com/pinellolab/CRISPResso2.git@v2.3.2or clone and buildObviously we run it in a docker container that has fastp
Debug output
Paste the entire output when you run CRISPResso with the flag
--debug.