Skip to content

Commit 0454259

Browse files
committed
fix: remove option to define output dir in config.
1 parent 6eb303b commit 0454259

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed

.test/config/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
samplesheet: "config/samples.csv"
2-
outdir: "results"
32

43
pgap:
54
bin: "path/to/pgap.py"

config/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
samplesheet: "config/samples.csv"
2-
outdir: "results"
32

43
pgap:
54
bin: "path/to/pgap.py"

config/schemas/config.schema.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ properties:
66
samplesheet:
77
type: string
88
description: Path to the sample sheet file
9-
outdir:
10-
type: string
11-
description: Output directory for results
129
pgap:
1310
type: object
1411
properties:

workflow/Snakefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ configfile: "config/config.yml"
2020

2121

2222
# set outout directory
23-
OUTDIR = config.get("outdir", "")
24-
25-
if not OUTDIR:
26-
OUTDIR = f"{os.getcwd()}/results"
23+
OUTDIR = f"{os.getcwd()}/results"
2724

2825

2926
# -----------------------------------------------------

0 commit comments

Comments
 (0)