Skip to content

Commit

Permalink
Merge pull request #255 from andersen-lab/config_mod
Browse files Browse the repository at this point in the history
adjusting so config is updated with every update
  • Loading branch information
joshuailevy authored Oct 21, 2024
2 parents c6d508d + 94a7f5e commit 2ea438c
Show file tree
Hide file tree
Showing 6 changed files with 480 additions and 413 deletions.
4 changes: 3 additions & 1 deletion freyja/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ def update(outdir, noncl, buildlocal, pathogen):
"""
from freyja.updates import (convert_tree, download_barcodes,
download_tree, get_cl_lineages,
get_curated_lineage_data)
get_curated_lineage_data,
download_config)
from freyja.convert_paths2barcodes import sortFun
locDir = os.path.abspath(os.path.join(os.path.realpath(__file__),
os.pardir))
Expand All @@ -208,6 +209,7 @@ def update(outdir, noncl, buildlocal, pathogen):
locDir = os.path.join(locDir, 'data')

print('Getting outbreak data')
download_config(locDir)
get_curated_lineage_data(locDir, pathogen)
get_cl_lineages(locDir, pathogen)
# # get data from UShER
Expand Down
Loading

0 comments on commit 2ea438c

Please sign in to comment.