Skip to content

Commit

Permalink
fix: do not pass snakefile as metadata when wms monitor flag is used (#…
Browse files Browse the repository at this point in the history
…2573)

### Description

Fixes #2390 by not providing a Snakefile as it is anyway not used in the
web server.

### QC
<!-- Make sure that you can tick the boxes below. -->

* [ ] The PR contains a test case for the changes or the changes are
already covered by an existing test case.
* [ ] The documentation (`docs/`) is updated to reflect the changes or
this is not necessary (e.g. if the change does neither modify the
language nor the behavior or functionalities of Snakemake).

Co-authored-by: Johannes Köster <johannes.koester@tu-dortmund.de>
  • Loading branch information
fgypas and johanneskoester committed Jan 15, 2024
1 parent 21e9964 commit 13b3205
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion snakemake/logging.py
Expand Up @@ -184,7 +184,6 @@ def create_workflow(self):

# Prepare a request that has metadata about the job
metadata = {
"snakefile": os.path.join(workdir, self.metadata.get("snakefile")),
"command": self.metadata.get("command"),
"workdir": workdir,
}
Expand Down

0 comments on commit 13b3205

Please sign in to comment.