Skip to content

Commit

Permalink
reorder phylo input parsing so that it has access to runname and today
Browse files Browse the repository at this point in the history
  • Loading branch information
aineniamh committed Nov 5, 2023
1 parent d3dca41 commit 06835ce
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions piranha/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,15 @@ def main(sysargs = sys.argv[1:]):
args.no_temp,
config)

init.misc_args_to_config(args.verbose,
args.threads,
args.username,
args.institute,
args.runname,
config)
# runs qc checks on the phylo input options and configures the phylo settings
# now need tempdir for this parsing, so run after directory_setup
# also needs runname to not add runname.today.fasta to the db
input_qc.phylo_group_parsing(args.run_phylo,
args.update_local_database,
args.supplementary_datadir,
Expand All @@ -163,13 +170,6 @@ def main(sysargs = sys.argv[1:]):
# checks the phylo-specific dependencies
dependency_checks.check_dependencies(PHYLO_DEPENDENCY_LIST, PHYLO_MODULE_LIST)

init.misc_args_to_config(args.verbose,
args.threads,
args.username,
args.institute,
args.runname,
config)

# ready to run? either verbose snakemake or quiet mode
init.set_up_verbosity(config)

Expand Down

0 comments on commit 06835ce

Please sign in to comment.