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

reinitialise the dataset on the CDI

parent abcb43a9
...@@ -78,7 +78,7 @@ def get_cor_data_half_tomo(): ...@@ -78,7 +78,7 @@ def get_cor_data_half_tomo():
datasource = ExternalResources(project="nabu", url_base=None) datasource = ExternalResources(project="nabu", url_base=None)
myfile = os.path.join(datasource.data_home, "data_for_ht_cor.h5") myfile = os.path.join(datasource.data_home, "data_for_ht_cor.h5")
if not os.path.isfile(myfile): if True or not os.path.isfile(myfile):
im1, im2, cor = _get_challenging_ImsCouple_for_halftomo_cor() im1, im2, cor = _get_challenging_ImsCouple_for_halftomo_cor()
f = h5py.File(myfile, "w") f = h5py.File(myfile, "w")
f["im1"] = np.array(im1, "f") 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