-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Software Versions
slurm 23.02.6
Python: 3.11.9
snakefmt 0.10.3 The uncompromising Snakemake code formatter
snakemake 9.10.0 Workflow management system to create reproducible and scalable data analyses
snakemake-executor-plugin-cluster-generic 1.0.9
snakemake-executor-plugin-cluster-sync 0.1.5 A Snakemake executor plugin for cluster jobs that are executed synchronously.
snakemake-executor-plugin-slurm 1.7.0 A Snakemake executor plugin for submitting jobs to a SLURM cluster.
snakemake-executor-plugin-slurm-jobstep 0.3.0 A Snakemake executor plugin for running srun jobs inside of SLURM jobs (meant for internal use by snakemake-executor-plugin-slurm)
snakemake-interface-common 1.21.0 Common functions and classes for Snakemake and its plugins
snakemake-interface-executor-plugins 9.3.9 This package provides a stable interface for interactions between Snakemake and its executor plugins.
snakemake-interface-logger-plugins 1.2.4 Logger plugin interface for snakemake
snakemake-interface-report-plugins 1.2.0 The interface for Snakemake report plugins.
snakemake-interface-scheduler-plugins 2.0.1 Scheduler plugin interface for snakemake
snakemake-interface-storage-plugins 4.2.3 This package provides a stable interface for interactions between Snakemake and its storage plugins.
snakemake-storage-plugin-s3 0.3.6 A Snakemake storage plugin for S3 API storage (AWS S3, MinIO, etc.)
snakeviz 2.2.2 A web-based viewer for Python profiler output
Describe the bug
When using slurm_account in my profile under default-resources, I get a strange error when using the "dir" account on my local cluster. It seems to be calling python's builtin dir function. After talking with support I also tried using account, and also setting dir with ("dir", 'dir') and without quotes, but I had the same issue. Additionally, I tried setting it from the command line, which I think I was doing wrong, so I can try that again if that's helpful. In the end I had to settle with using slurm_extra: --account dir and that worked just fine.
Logs
Here's the log I got from the main snakemake process:
Select jobs to execute...
InputFunctionException in rule cram_quality_control_mod_samtools_idxstats_by_patient in file "cram_quality.smk", line 214:
Error:
TypeError: dir() takes no keyword arguments
Wildcards:
id=S2529182_BG
Traceback:
(rule cram_quality_control_mod_samtools_idxstats_by_patient, line 334, cram_quality.smk)Additional context
kirankt
Metadata
Metadata
Assignees
Labels
No labels