Skip to content

Commit

Permalink
fix: add generation of study.pid #287
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Nov 11, 2021
1 parent 254249f commit f6a8ebc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/icat_db_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ def generate_studies(i):
apply_common_attributes(study, i)
study.startDate = get_start_date(i)
study.status = faker.random_int(0, 1)
study.pid = faker.isbn10(separator="-")
study.userID = i
post_entity(study)

Expand Down

0 comments on commit f6a8ebc

Please sign in to comment.