You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the follwouing error occurs:
Traceback (most recent call last):
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/site-packages/snakemake/main.py", line 4, in
main()
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/site-packages/snakemake/init.py", line 2736, in main
parser = get_argument_parser()
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/site-packages/snakemake/init.py", line 1607, in get_argument_parser
lp_solvers = pulp.list_solvers(onlyAvailable=True)
AttributeError: module 'pulp' has no attribute 'list_solvers'
when executing:
cem-run supervoxels --cluster slurm -c 64 -g 12
the follwouing error occurs:
Traceback (most recent call last):
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/site-packages/snakemake/main.py", line 4, in
main()
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/site-packages/snakemake/init.py", line 2736, in main
parser = get_argument_parser()
File "/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/site-packages/snakemake/init.py", line 1607, in get_argument_parser
lp_solvers = pulp.list_solvers(onlyAvailable=True)
AttributeError: module 'pulp' has no attribute 'list_solvers'
according to: snakemake/snakemake#2607
the list_solvers was updated to listSolvers
so i changed the line 1607 of file:
"/home/rheinnec/miniconda3/envs/cebra1/lib/python3.9/site-packages/snakemake/init.py"
from:
lp_solvers = pulp.list_solvers(onlyAvailable=True)
into:
lp_solvers = pulp.listSolvers(onlyAvailable=True)
this seems to fix the problem
The text was updated successfully, but these errors were encountered: