commented scan num, step num and sub-folder logic
This commit is contained in:
@@ -99,11 +99,13 @@ class ScanBackend:
|
||||
def get_filename(self, istep):
|
||||
filename = os.path.join(self.data_base_dir, self.filename)
|
||||
|
||||
if self.make_scan_sub_dir:
|
||||
filebase = os.path.basename(self.filename)
|
||||
filename = os.path.join(filename, filebase)
|
||||
#TODO: no settable file names in sf_daq, but need it for other methods...
|
||||
# if self.make_scan_sub_dir:
|
||||
# filebase = os.path.basename(self.filename)
|
||||
# filename = os.path.join(filename, filebase)
|
||||
|
||||
filename += "_step{:04d}".format(istep)
|
||||
#TODO: sf_daq counts runs
|
||||
# filename += "_step{:04d}".format(istep)
|
||||
return filename
|
||||
|
||||
|
||||
|
||||
@@ -53,7 +53,8 @@ class Scanner:
|
||||
Returns:
|
||||
ScanBackend: Scan instance.
|
||||
"""
|
||||
filename = self.filename_generator.get_next_run_filename(filename)
|
||||
#TODO: sf_daq counts runs
|
||||
# filename = self.filename_generator.get_next_run_filename(filename)
|
||||
|
||||
if not acquisitions:
|
||||
acquisitions = self.default_acquisitions
|
||||
|
||||
Reference in New Issue
Block a user