Skip to content

Commit

Permalink
add schema to db
Browse files Browse the repository at this point in the history
  • Loading branch information
jodyphelan committed Jul 16, 2024
1 parent 573ffd7 commit 428fb65
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 428fb65

Please sign in to comment.