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

Add comments/logs

parent 3d63d17a
......@@ -213,8 +213,8 @@ class HDF5DatasetAnalyzer(DatasetAnalyzer):
self._get_dataset_hdf5_url(),
self.dataset_scanner.image_key,
lookup_files=lookup_files,
results_file=processes_file,
flats_reduction="mean",
results_file=processes_file, # overwrite processes file
flats_reduction="median",
darks_reduction="mean"
)
res = self._nxflatfield.get_final_urls(
......
......@@ -277,6 +277,7 @@ class NXFlatField:
h5_results_path = writer.write(
flats_and_darks, process_name, config=self.get_config()
)
self.logger.debug("Wrote final flats and darks to %s" % results_file)
links = {}
for img_type, imgs in flats_and_darks.items():
links[img_type] = {}
......
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