snakemake-executor-plugin-sge 0.6.2__tar.gz → 0.6.3__tar.gz
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.
- {snakemake_executor_plugin_sge-0.6.2 → snakemake_executor_plugin_sge-0.6.3}/PKG-INFO +1 -1
- {snakemake_executor_plugin_sge-0.6.2 → snakemake_executor_plugin_sge-0.6.3}/pyproject.toml +1 -1
- {snakemake_executor_plugin_sge-0.6.2 → snakemake_executor_plugin_sge-0.6.3}/snakemake_executor_plugin_sge/submit_string.py +7 -4
- {snakemake_executor_plugin_sge-0.6.2 → snakemake_executor_plugin_sge-0.6.3}/README.md +0 -0
- {snakemake_executor_plugin_sge-0.6.2 → snakemake_executor_plugin_sge-0.6.3}/snakemake_executor_plugin_sge/__init__.py +0 -0
- {snakemake_executor_plugin_sge-0.6.2 → snakemake_executor_plugin_sge-0.6.3}/snakemake_executor_plugin_sge/job_cancellation.py +0 -0
- {snakemake_executor_plugin_sge-0.6.2 → snakemake_executor_plugin_sge-0.6.3}/snakemake_executor_plugin_sge/job_status_query.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "snakemake-executor-plugin-sge"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.3"
|
|
4
4
|
description = "A Snakemake executor plugin for submitting jobs to SGE/UGE/OGS clusters."
|
|
5
5
|
authors = ["Stylianos Charalampous <stylianosc@github.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -300,13 +300,16 @@ def get_submit_command(
|
|
|
300
300
|
f" -N {_safe(job_name)}"
|
|
301
301
|
)
|
|
302
302
|
|
|
303
|
-
# Stdout/stderr:
|
|
304
|
-
#
|
|
305
|
-
|
|
303
|
+
# Stdout/stderr: specify exact log file paths using SGE variable expansion
|
|
304
|
+
# $JOB_ID expands to the job ID, $TASK_ID expands to the array task index
|
|
305
|
+
# This produces logs named like "1234567.1.log" (jobid.taskid.log)
|
|
306
|
+
log_stdout_path = log_dir / "$JOB_ID.$TASK_ID.log"
|
|
307
|
+
call += f" -o {_safe(str(log_stdout_path))}"
|
|
306
308
|
if join_logs:
|
|
307
309
|
call += " -j y"
|
|
308
310
|
else:
|
|
309
|
-
|
|
311
|
+
log_stderr_path = log_dir / "$JOB_ID.$TASK_ID.error"
|
|
312
|
+
call += f" -e {_safe(str(log_stderr_path))}"
|
|
310
313
|
|
|
311
314
|
# ── working directory ──────────────────────────────────────────────
|
|
312
315
|
if workdir:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|