Skip to content

Commit

Permalink
ci: fix prefill script
Browse files Browse the repository at this point in the history
  • Loading branch information
migraf committed Jul 9, 2023
1 parent 83433db commit e7c3b52
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions testing/prefill.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,22 @@ def prefill():
covid_generator, name="covid", depends_on="base", reference_field="subject"
)

dataset = dataset_generator.generate()
dataset_1 = dataset_generator.generate()

print(f"generated dataset: {dataset}")
print(f"generated dataset: {dataset_1}")

# upload dataset to server 1
print(f"uploading dataset to server 1 ({server_1.api_address})...")
dataset.upload(server_1)
dataset_1.upload(server_1)

# upload to server 2
print(f"uploading dataset to server 2 ({server_2.api_address})...")
dataset.upload(server_2)
dataset_2 = dataset_generator.generate()

print(f"generated dataset: {dataset_2}")

# upload dataset to server 1
print(f"uploading dataset to server 1 ({server_1.api_address})...")
dataset_2.upload(server_1)

# patients = PatientGenerator(n=count).generate()
# print(f"generated {len(patients)} patients")
Expand Down

0 comments on commit e7c3b52

Please sign in to comment.