Skip to content

Commit 835049e

Browse files
committed
Added Rigaku500k
1 parent 14302a5 commit 835049e

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/instrument/devices/registers_device.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class EpicsPvStorageRegisters(Device):
2222
spec_file = Component(EpicsSignal, "StrReg10", string=True)
2323
analysis_type = Component(EpicsSignal, "StrReg11", string=True)
2424
start_bluesky = Component(EpicsSignal, "StrReg12", string=True)
25+
det_name = Component(EpicsSignal, "StrReg13", string=True)
2526

2627
measurement_num = Component(EpicsSignal, "Reg1")
2728
qnw_index = Component(EpicsSignal, "Reg2")

src/instrument/plans/nexus_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ def create_runtime_metadata_dict(det=None, additional_metadata=None):
139139

140140
"/entry/instrument/detector_1/beam_center_x": pv_registers.current_db_x0.get(),
141141
"/entry/instrument/detector_1/beam_center_y": pv_registers.current_db_y0.get(),
142-
"/entry/instrument/detector_1/beam_center_position_x": pv_registers.current_db_x0.get(),
143-
"/entry/instrument/detector_1/beam_center_position_y": pv_registers.current_db_y0.get(),
142+
"/entry/instrument/detector_1/beam_center_position_x": detector.x.position,
143+
"/entry/instrument/detector_1/beam_center_position_y": detector.y.position,
144144
"/entry/instrument/detector_1/position_x": detector.x.position,
145145
"/entry/instrument/detector_1/position_y": detector.y.position,
146146

src/instrument/plans/spec_8IDE_eiger4M.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def submit_Nexus_DM():
4343
"filePath": f"{filename}.h5",
4444
"qmap": f"{qmap_file}",
4545
"analysisMachine": f"{analysis_machine}",
46-
"gpuID": -2
46+
"gpuID": -2,
47+
"analysis_type": 'Both'
4748
}
4849
job = workflowProcApi.startProcessingJob(dmuser, f"{workflow_name}", argsDict=argsDict)
4950
print(f"Job {job['id']} processing {filename}")

0 commit comments

Comments
 (0)