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
When trying to run the snaketest.smk workflow with the command snakemake -s workflow/snaketests.smk --profile ../prf_MODS_wt_smk8/ --config devmode=True -n with the profile prf_MODS_wt_smk8, which contains the following config.yaml:
Using profile ../prf_MODS_wt_smk8/ for setting default command line arguments.
/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/repo/workflow/rules/commons/30_settings.smk:209: SyntaxWarning: invalid escape sequence '\-'
RUN_SUFFIX = RUN_SUFFIX.replace(".", "-").replace("_", "-")
/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/repo/workflow/rules/commons/30_settings.smk:212: SyntaxWarning: invalid escape sequence '\-'
# consecutive hyphens, replace with single one
Traceback (most recent call last):
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/exec_env/lib/python3.12/site-packages/snakemake/cli.py", line 1933, in args_to_api
dag_api = workflow_api.dag(
^^^^^^^^^^^^^^^^^
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/exec_env/lib/python3.12/site-packages/snakemake/api.py", line 328, in dag
return DAGApi(
^^^^^^^
File "<string>", line 6, in __init__
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/exec_env/lib/python3.12/site-packages/snakemake/api.py", line 438, in __post_init__
self.workflow_api._workflow.dag_settings = self.dag_settings
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/exec_env/lib/python3.12/site-packages/snakemake/api.py", line 385, in _workflow
workflow.include(
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/exec_env/lib/python3.12/site-packages/snakemake/workflow.py", line 1386, in include
exec(compile(code, snakefile.get_path_or_uri(), "exec"), self.globals)
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/repo/workflow/snaketests.smk", line 1, in <module>
include: "rules/commons/00_commons.smk"
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/exec_env/lib/python3.12/site-packages/snakemake/workflow.py", line 1386, in include
exec(compile(code, snakefile.get_path_or_uri(), "exec"), self.globals)
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/repo/workflow/rules/commons/00_commons.smk", line 41, in <module>
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/exec_env/lib/python3.12/site-packages/snakemake/workflow.py", line 1386, in include
exec(compile(code, snakefile.get_path_or_uri(), "exec"), self.globals)
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/repo/workflow/rules/commons/90_staging.smk", line 20, in <module>
_extract_and_set_dryrun_constant()
File "/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/repo/workflow/rules/commons/40_pyutils.smk", line 585, in _extract_and_set_dryrun_constant
from snakemake import get_argument_parser as get_smk_cli_parser
ImportError: cannot import name 'get_argument_parser' from 'snakemake' (/gpfs/project/projects/medbioinf/projects/cubi/projects/new_smk8_test/exec_env/lib/python3.12/site-packages/snakemake/__init__.py)
The text was updated successfully, but these errors were encountered:
I created on HILBERT a conda
exec_env
environment with the following packages to be able to test the new Snakemake 8.5.3 version:When trying to run the snaketest.smk workflow with the command
snakemake -s workflow/snaketests.smk --profile ../prf_MODS_wt_smk8/ --config devmode=True -n
with the profileprf_MODS_wt_smk8
, which contains the followingconfig.yaml
:this is the output:
The text was updated successfully, but these errors were encountered: