InstituteforDiseaseModeling / idmtools

https://docs.idmod.org/projects/idmtools/en/latest/
Other
4 stars 4 forks source link

Cache issue when deleting suite #2355

Closed ZDu-IDM closed 2 months ago

ZDu-IDM commented 2 months ago

Run the sample script below and notice that the suite.experiments is None when retrieving the suite the second time!

def get_item_demo(): suite_id = "40676f7a-24d6-43ec-918f-31a645b41557"

# Get first time
suite = get_suite(suite_id)
print("experiments: ", suite.experiments)

# Get second time
suite = get_suite(suite_id)
print(suite.experiments)
print("experiments: ", suite.experiments)