Skip to content

Commit

Permalink
Merge pull request #47 from jodyphelan/dev
Browse files Browse the repository at this point in the history
add schema to db
  • Loading branch information
jodyphelan authored Jul 16, 2024
2 parents d2d6ee2 + 428fb65 commit b0ba6e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pathogenprofiler/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,9 @@ def create_db(args,extra_files = None):
version["Author"] = args.db_author if args.db_author else "NA"

variables['version'] = version
if 'db-schema-version' in variables:
variables['version']['db-schema-version'] = variables['db-schema-version']

json.dump(db,open(json_file,"w"))


Expand Down

0 comments on commit b0ba6e2

Please sign in to comment.