Commit e11a40ac authored by Tomas Farago's avatar Tomas Farago
Browse files

[app][nabu] define entry only if not an EDFTomoScan

parent 5cd99bf0
Pipeline #25048 passed with stage
in 1 minute and 7 seconds
......@@ -16,6 +16,7 @@ if __has_pyopencl__:
from pyopencl import CommandQueue
from ..cuda.utils import replace_array_memory as replace_cuarray_memory
from ..opencl.utils import replace_array_memory as replace_clarray_memory
from tomoscan.esrf.edfscan import EDFTomoScan
class WorkerProcess:
......@@ -475,11 +476,15 @@ class WorkerProcess:
options = self.processing_options["save"]
if FileFormat.from_value(files_formats[options["file_format"]]) != FileFormat.HDF5:
return None
if isinstance(self.dataset_infos.dataset_scanner, EDFTomoScan):
entry=None
else:
entry = self.dataset_infos.dataset_scanner.entry
nx_infos = {
"process_name": process_name,
"processing_index": 0,
"config": self.process_config.nabu_config,
"entry": self.dataset_infos.dataset_scanner.entry,
"entry": entry,
}
return nx_infos
......
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