From 27ae6ae03cc0340161382debcb44a25f39376cfc Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 11 Nov 2020 14:10:41 +0100 Subject: [PATCH] stop writing scan_info to /res (sf_daq write it to /raw) --- slic/core/scanner/scanbackend.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/slic/core/scanner/scanbackend.py b/slic/core/scanner/scanbackend.py index 2af95aab..1630b4ac 100644 --- a/slic/core/scanner/scanbackend.py +++ b/slic/core/scanner/scanbackend.py @@ -94,11 +94,15 @@ class ScanBackend: step_filenames = self.acquire_all(fn) print("Acquisition done") - self.scan_info.update(step_values, step_readbacks, step_filenames, step_info) +#TODO: sf_daq writes scan info to /raw -> stop writing it to /res +# self.scan_info.update(step_values, step_readbacks, step_filenames, step_info) + self.scan_info.append(step_values, step_readbacks, step_filenames, step_info) def create_output_dirs(self): - make_missing_dir(self.scan_info.base_dir) + pass +#TODO: sf_daq writes scan info to /raw -> stop writing it to /res +# make_missing_dir(self.scan_info.base_dir) #TODO: cannot do this anymore for sf_daq, but need it for other methods... # for acq in self.acquisitions: