Skip to content

Commit 29c743a

Browse files
committed
Suppress initial messages due to input functions
1 parent a994c49 commit 29c743a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

workflow/rules/common.smk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ def iter_samples():
99

1010

1111
def get_input_bam(wildcards):
12-
return config.get("SAMPLES", {})[wildcards.sample]["bam"]
12+
return config.get("SAMPLES", {}).get(wildcards.sample, {}).get("bam", "")
1313

1414

1515
def get_input_fasta(wildcards):
16-
return config.get("SAMPLES", {})[wildcards.sample]["fasta"]
16+
return config.get("SAMPLES", {}).get(wildcards.sample, {}).get("fasta", "")
1717

1818

1919
def get_repo_version(base_dir: str, default: str, warn=False) -> str:

0 commit comments

Comments
 (0)