Skip to content

Commit

Permalink
only run path check if supp file supplied
Browse files Browse the repository at this point in the history
  • Loading branch information
aineniamh committed Nov 6, 2023
1 parent 37f3f0e commit 0de6cf5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion piranha/input_parsing/input_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ def phylo_group_parsing(run_phylo_arg,
if config[KEY_RUN_PHYLO]:

misc.add_path_to_config(KEY_SUPPLEMENTARY_DATADIR,supplementary_datadir,config)
misc.check_path_exists(config[KEY_SUPPLEMENTARY_DATADIR])
if config[KEY_SUPPLEMENTARY_DATADIR]:
misc.check_path_exists(config[KEY_SUPPLEMENTARY_DATADIR])

misc.add_arg_to_config(KEY_UPDATE_LOCAL_DATABASE,update_local_database,config)
if config[KEY_UPDATE_LOCAL_DATABASE] not in [True, False]:
Expand Down

0 comments on commit 0de6cf5

Please sign in to comment.