Skip to content

Commit 1e0649a

Browse files
fix: properly use configfiles specified via CLI also if configfile specified via configfile directive is not present
1 parent b8c77f6 commit 1e0649a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

snakemake/workflow.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,9 @@ def configfile(self, fp):
13151315
fp
13161316
)
13171317
)
1318+
else:
1319+
# CLI configfiles have been specified, do not throw an error but update with their values
1320+
update_config(self.config, self.overwrite_config)
13181321

13191322
def set_pepfile(self, path):
13201323

0 commit comments

Comments
 (0)