Snakefile: don't use {run} wildcard if just specifying a run name
This commit is contained in:
parent
cc3d7a4cbb
commit
16793d1335
@ -26,7 +26,9 @@ if run["name"]:
|
|||||||
if scenarios.get("enable"):
|
if scenarios.get("enable"):
|
||||||
fn = Path(scenarios["file"])
|
fn = Path(scenarios["file"])
|
||||||
scenarios = yaml.safe_load(fn.read_text())
|
scenarios = yaml.safe_load(fn.read_text())
|
||||||
RDIR = "{run}/"
|
RDIR = "{run}/"
|
||||||
|
else:
|
||||||
|
RDIR = run["name"] + "/"
|
||||||
else:
|
else:
|
||||||
RDIR = ""
|
RDIR = ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user