snakemake-executor-plugin-slurm 0.4.5__py3-none-any.whl → 0.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of snakemake-executor-plugin-slurm might be problematic. Click here for more details.

@@ -89,9 +89,13 @@ class Executor(RemoteExecutor):
89
89
  # generic part of a submission string:
90
90
  # we use a run_uuid as the job-name, to allow `--name`-based
91
91
  # filtering in the job status checks (`sacct --name` and `squeue --name`)
92
+ if wildcard_str == "":
93
+ comment_str = f"rule_{job.name}"
94
+ else:
95
+ comment_str = f"rule_{job.name}_wildcards_{wildcard_str}"
92
96
  call = (
93
97
  f"sbatch --job-name {self.run_uuid} --output {slurm_logfile} --export=ALL "
94
- f"--comment {job.name}"
98
+ f"--comment {comment_str}"
95
99
  )
96
100
 
97
101
  call += self.get_account_arg(job)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: snakemake-executor-plugin-slurm
3
- Version: 0.4.5
3
+ Version: 0.5.0
4
4
  Summary: A Snakemake executor plugin for submitting jobs to a SLURM cluster.
5
5
  Home-page: https://github.com/snakemake/snakemake-executor-plugin-slurm
6
6
  License: MIT
@@ -0,0 +1,5 @@
1
+ snakemake_executor_plugin_slurm/__init__.py,sha256=kGOrUDIxMl-m5lv9KefL6p_jKFyIBtAYKhw2NpUZK3w,20257
2
+ snakemake_executor_plugin_slurm-0.5.0.dist-info/LICENSE,sha256=YVc4xTLWMqGfFL36120k7rzXtsT6e4RkJsh68VVn12s,1076
3
+ snakemake_executor_plugin_slurm-0.5.0.dist-info/METADATA,sha256=EEEgSLGjYLFLZv3yYBZRZ6Tsg4N4ZJYipDl1UTCV230,1380
4
+ snakemake_executor_plugin_slurm-0.5.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
5
+ snakemake_executor_plugin_slurm-0.5.0.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- snakemake_executor_plugin_slurm/__init__.py,sha256=ny5nczaSrmyMvUf4ZQ4TXZ3s1bPWxJ0yo360fiXNIf4,20094
2
- snakemake_executor_plugin_slurm-0.4.5.dist-info/LICENSE,sha256=YVc4xTLWMqGfFL36120k7rzXtsT6e4RkJsh68VVn12s,1076
3
- snakemake_executor_plugin_slurm-0.4.5.dist-info/METADATA,sha256=I6-rHcNz7w-bm88yNAA0DQN2WFVQKgl4D6CLKUwmAwA,1380
4
- snakemake_executor_plugin_slurm-0.4.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
5
- snakemake_executor_plugin_slurm-0.4.5.dist-info/RECORD,,