GUI: added functionality to add data to file_prefix for rotation scan only.
This commit is contained in:
@@ -14,6 +14,9 @@ def add_screening_to_path(path):
|
||||
p = Path(path)
|
||||
return p.parent / "screening" / p.name
|
||||
|
||||
def add_data_to_path(path):
|
||||
p = Path(path)
|
||||
return "data" / p
|
||||
|
||||
class RotationDataCollectionPanel(ScanSettingsPanel):
|
||||
rotation_scan = Signal(RotationScanRequest)
|
||||
@@ -120,7 +123,7 @@ class RotationDataCollectionPanel(ScanSettingsPanel):
|
||||
@Slot()
|
||||
def run_measurement(self):
|
||||
r = RotationScanRequest(
|
||||
file_prefix=self._filename,
|
||||
file_prefix=self._filename, #str(add_data_to_path(self._filename)),
|
||||
start_omega_deg=self.start_angle.value,
|
||||
steps=self.image_number(),
|
||||
incr_omega_deg=self.image_angle.value,
|
||||
|
||||
Reference in New Issue
Block a user