Commit 799f047f authored by Pierre Paleo's avatar Pierre Paleo
Browse files

dataset_analyzer: take processes_file into account for loading darks/flats

parent c08a0c42
......@@ -310,6 +310,11 @@ class HDF5DatasetAnalyzer(DatasetAnalyzer):
def _get_results_file(self):
if self.processes_file not in (None, ""):
if is_writeable(self.processes_file):
return self.processes_file
else:
self.logger.error("Cannot write to %s" % self.processes_file)
results_relfname = os.path.splitext(
os.path.basename(self.dataset_scanner.master_file)
)[0] + "_nabu_processes.hdf5"
......
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