Skip to content

Commit

Permalink
#70: add datafile location
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Oct 11, 2019
1 parent 5a6a348 commit c9b41ec
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 @@ -566,6 +566,7 @@ def generate_datafile(i):
datafile.DATAFILEFORMAT_ID = randrange(1, DatafileFormatGenerator.amount)
datafile.DATASET_ID = i % (DatasetGenerator.amount - 1) + 1
datafile.NAME = f"Datafile {i}"
datafile.LOCATION = faker.file_path(depth=2, category="image")
post_entity(datafile)


Expand Down

0 comments on commit c9b41ec

Please sign in to comment.