snakemake-executor-plugin-slurm 1.3.6__py3-none-any.whl → 1.4.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.
- snakemake_executor_plugin_slurm/__init__.py +11 -0
- {snakemake_executor_plugin_slurm-1.3.6.dist-info → snakemake_executor_plugin_slurm-1.4.0.dist-info}/METADATA +1 -1
- snakemake_executor_plugin_slurm-1.4.0.dist-info/RECORD +7 -0
- snakemake_executor_plugin_slurm-1.3.6.dist-info/RECORD +0 -7
- {snakemake_executor_plugin_slurm-1.3.6.dist-info → snakemake_executor_plugin_slurm-1.4.0.dist-info}/LICENSE +0 -0
- {snakemake_executor_plugin_slurm-1.3.6.dist-info → snakemake_executor_plugin_slurm-1.4.0.dist-info}/WHEEL +0 -0
|
@@ -106,6 +106,14 @@ class ExecutorSettings(ExecutorSettingsBase):
|
|
|
106
106
|
"required": False,
|
|
107
107
|
},
|
|
108
108
|
)
|
|
109
|
+
reservation: Optional[str] = field(
|
|
110
|
+
default=None,
|
|
111
|
+
metadata={
|
|
112
|
+
"help": "If set, the given reservation will be used for job submission.",
|
|
113
|
+
"env_var": False,
|
|
114
|
+
"required": False,
|
|
115
|
+
},
|
|
116
|
+
)
|
|
109
117
|
|
|
110
118
|
|
|
111
119
|
# Required:
|
|
@@ -245,6 +253,9 @@ class Executor(RemoteExecutor):
|
|
|
245
253
|
if self.workflow.executor_settings.requeue:
|
|
246
254
|
call += " --requeue"
|
|
247
255
|
|
|
256
|
+
if self.workflow.executor_settings.reservation:
|
|
257
|
+
call += f" --reservation={self.workflow.executor_settings.reservation}"
|
|
258
|
+
|
|
248
259
|
call += set_gres_string(job)
|
|
249
260
|
|
|
250
261
|
if not job.resources.get("runtime"):
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
snakemake_executor_plugin_slurm/__init__.py,sha256=Rr5TW-_HZQPD3psmdCoai0E4vBv-JH_y6DQQsgRR5E4,31862
|
|
2
|
+
snakemake_executor_plugin_slurm/submit_string.py,sha256=sXzMm5SVNQ4upIOcsIZjUqj7khnG-lieo5yJSSus5sc,2483
|
|
3
|
+
snakemake_executor_plugin_slurm/utils.py,sha256=7XVXtzu7bg_89wWZisW-Zk7TNQyEgK4v_y4Y3F9uOwc,4491
|
|
4
|
+
snakemake_executor_plugin_slurm-1.4.0.dist-info/LICENSE,sha256=YVc4xTLWMqGfFL36120k7rzXtsT6e4RkJsh68VVn12s,1076
|
|
5
|
+
snakemake_executor_plugin_slurm-1.4.0.dist-info/METADATA,sha256=G6J2jT9l48byyDKI35dGcGDO4FLyVZWePAhE7C-eqOY,1360
|
|
6
|
+
snakemake_executor_plugin_slurm-1.4.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
7
|
+
snakemake_executor_plugin_slurm-1.4.0.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
snakemake_executor_plugin_slurm/__init__.py,sha256=M90YYpeg4KPj_ebf7uR6JvBiRPwmYtABr6FoUChfswM,31476
|
|
2
|
-
snakemake_executor_plugin_slurm/submit_string.py,sha256=sXzMm5SVNQ4upIOcsIZjUqj7khnG-lieo5yJSSus5sc,2483
|
|
3
|
-
snakemake_executor_plugin_slurm/utils.py,sha256=7XVXtzu7bg_89wWZisW-Zk7TNQyEgK4v_y4Y3F9uOwc,4491
|
|
4
|
-
snakemake_executor_plugin_slurm-1.3.6.dist-info/LICENSE,sha256=YVc4xTLWMqGfFL36120k7rzXtsT6e4RkJsh68VVn12s,1076
|
|
5
|
-
snakemake_executor_plugin_slurm-1.3.6.dist-info/METADATA,sha256=0XD9Zt6h7Uc8R-mehHh9KbHyR9dJQOjDlLX4bUplHwE,1360
|
|
6
|
-
snakemake_executor_plugin_slurm-1.3.6.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
7
|
-
snakemake_executor_plugin_slurm-1.3.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|