snakemake parse cluster config file

Create issue
Issue #1151 new
Silas Kieser created an issue

I think with snakemake v5.4.3

I got a more or less cryptic error because I had a spelling error in the cluster config yaml. I think berore I got an error message that the file is not a correct yaml file.

Traceback (most recent call last):
  File "/home/kiesers/scratch/miniconda3/envs/atlas/lib/python3.6/site-packages/snakemake/__init__.py", line 544, in snakemake
    export_cwl=export_cwl)
  File "/home/kiesers/scratch/miniconda3/envs/atlas/lib/python3.6/site-packages/snakemake/workflow.py", line 674, in execute
    success = scheduler.schedule()
  File "/home/kiesers/scratch/miniconda3/envs/atlas/lib/python3.6/site-packages/snakemake/scheduler.py", line 278, in schedule
    self.run(job)
  File "/home/kiesers/scratch/miniconda3/envs/atlas/lib/python3.6/site-packages/snakemake/scheduler.py", line 294, in run
    error_callback=self._error)
  File "/home/kiesers/scratch/miniconda3/envs/atlas/lib/python3.6/site-packages/snakemake/executors.py", line 658, in run
    jobscript = self.get_jobscript(job)
  File "/home/kiesers/scratch/miniconda3/envs/atlas/lib/python3.6/site-packages/snakemake/executors.py", line 506, in get_jobscript
    cluster=self.cluster_wildcards(job))
  File "/home/kiesers/scratch/miniconda3/envs/atlas/lib/python3.6/site-packages/snakemake/executors.py", line 576, in cluster_wildcards
    return Wildcards(fromdict=self.cluster_params(job))
  File "/home/kiesers/scratch/miniconda3/envs/atlas/lib/python3.6/site-packages/snakemake/executors.py", line 556, in cluster_params
    cluster.update(self.cluster_config.get(job.name, dict()))
ValueError: need more than 1 value to unpack

Comments (0)

  1. Log in to comment