Commit 5457f4c2 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

NX: don't overwrite nabu_processes.h5 when flatfield_enabled = forced

parent b5897539
......@@ -206,6 +206,11 @@ class HDF5DatasetAnalyzer(DatasetAnalyzer):
processes_file = self.processes_file
if processes_file is None:
processes_file = os.path.join(self.dataset_scanner.path, "nabu_processes.h5")
# By default, write in processes_file. Not sure it is a good idea
results_file = processes_file
# Don't write in processes_file if flatfield = forced
if self.extra_options["force_flatfield"]:
results_file = None
lookup_files = [
DataUrl(
file_path=processes_file,
......
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