Skip to content

Commit

Permalink
fix: properly use configfiles specified via CLI also if configfile sp…
Browse files Browse the repository at this point in the history
…ecified via configfile directive is not present
  • Loading branch information
johanneskoester committed Apr 26, 2022
1 parent b8c77f6 commit 1e0649a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snakemake/workflow.py
Expand Up @@ -1315,6 +1315,9 @@ def configfile(self, fp):
fp
)
)
else:
# CLI configfiles have been specified, do not throw an error but update with their values
update_config(self.config, self.overwrite_config)

def set_pepfile(self, path):

Expand Down

0 comments on commit 1e0649a

Please sign in to comment.