Commit e6476aac authored by Pierre Paleo's avatar Pierre Paleo
Browse files

[hdf5tomoscan] get_compacted_dataslices to return a dict of integers

parent e5f9ba60
Pipeline #22691 passed with stages
in 2 minutes and 11 seconds
......@@ -159,5 +159,6 @@ def get_compacted_dataslices(urls):
# Format result
res = {}
for ind, dl in zip(merged_indices, data_location):
res[tuple(ind)] = DataUrl(file_path=dl[0], data_path=dl[1], data_slice=dl[2])
# res[tuple(ind)] = DataUrl(file_path=dl[0], data_path=dl[1], data_slice=dl[2])
res.update(dict.fromkeys(ind, DataUrl(file_path=dl[0], data_path=dl[1], data_slice=dl[2])))
return res
Markdown is supported
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