Commit 992836d7 authored by myron's avatar myron Committed by Pierre Paleo
Browse files

Reactivated the cache mechanism for hal_tomo syntetic data creation

parent 35acfb7b
......@@ -79,7 +79,7 @@ def get_cor_data_half_tomo():
datasource = ExternalResources(project="nabu", url_base=None)
myfile = os.path.join(datasource.data_home, "data_for_ht_cor.h5")
if True or not os.path.isfile(myfile):
if not os.path.isfile(myfile):
im1, im2, cor = _get_challenging_ImsCouple_for_halftomo_cor()
f = h5py.File(myfile, "w")
f["im1"] = np.array(im1, "f")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment