Skip to content

Commit

Permalink
Snakefile: fix SDIR and RESDIR path ending
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianHofmann committed Aug 9, 2024
1 parent 15a5c95 commit 614e690
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ config["ROOT_PATH"] = os.getcwd()
run = config.get("run", {})
RDIR = run["name"] + "/" if run.get("name") else ""
CDIR = RDIR if not run.get("shared_cutouts") else ""
SDIR = str(Path(config["summary_dir"]) / RDIR) # use Path to flexibly allow closing "/"
RESDIR = str(Path(config["results_dir"]) / RDIR)
SDIR = (
str(Path(config["summary_dir"]) / RDIR) + "/"
) # use Path to flexibly allow closing "/"
RESDIR = str(Path(config["results_dir"]) / RDIR) + "/"
COSTDIR = config["costs_dir"]


Expand Down

0 comments on commit 614e690

Please sign in to comment.