mx-bluesky 0.3.1__py3-none-any.whl → 1.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mx_bluesky/_version.py +2 -2
- mx_bluesky/beamlines/i04/__init__.py +3 -0
- mx_bluesky/{i04 → beamlines/i04}/thawing_plan.py +5 -4
- mx_bluesky/{i24 → beamlines/i24}/serial/blueapi_config.yaml +1 -1
- mx_bluesky/{i24 → beamlines/i24}/serial/dcid.py +2 -2
- mx_bluesky/{i24 → beamlines/i24}/serial/extruder/EX-gui-edm/DetStage.edl +3 -3
- mx_bluesky/{i24 → beamlines/i24}/serial/extruder/EX-gui-edm/DiamondExtruder-I24-py3v1.edl +7 -7
- mx_bluesky/{i24 → beamlines/i24}/serial/extruder/i24ssx_Extruder_Collect_py3v2.py +12 -9
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/CustomChip_py3v1.edl +3 -3
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/DetStage.edl +3 -3
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/DiamondChipI24-py3v1.edl +245 -200
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/MappingLite-oxford_py3v1.edl +4 -4
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/pumpprobe-py3v1.edl +8 -8
- mx_bluesky/beamlines/i24/serial/fixed_target/__init__.py +0 -0
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py +80 -70
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/i24ssx_Chip_Manager_py3v1.py +20 -21
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/i24ssx_Chip_Mapping_py3v1.py +5 -5
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/i24ssx_Chip_StartUp_py3v1.py +7 -4
- mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/i24ssx_moveonclick.py +59 -39
- mx_bluesky/{i24 → beamlines/i24}/serial/log.py +1 -9
- mx_bluesky/beamlines/i24/serial/parameters/__init__.py +15 -0
- mx_bluesky/{i24 → beamlines/i24}/serial/parameters/constants.py +1 -1
- mx_bluesky/{i24 → beamlines/i24}/serial/parameters/experiment_parameters.py +4 -25
- mx_bluesky/{i24 → beamlines/i24}/serial/parameters/utils.py +5 -3
- mx_bluesky/{i24 → beamlines/i24}/serial/run_serial.py +1 -1
- mx_bluesky/{i24 → beamlines/i24}/serial/setup_beamline/pv_abstract.py +1 -1
- mx_bluesky/{i24 → beamlines/i24}/serial/setup_beamline/setup_beamline.py +2 -2
- mx_bluesky/{i24 → beamlines/i24}/serial/setup_beamline/setup_detector.py +5 -5
- mx_bluesky/{i24 → beamlines/i24}/serial/write_nexus.py +6 -3
- mx_bluesky/hyperion/__init__.py +1 -0
- mx_bluesky/hyperion/__main__.py +374 -0
- mx_bluesky/hyperion/device_setup_plans/__init__.py +0 -0
- mx_bluesky/hyperion/device_setup_plans/dcm_pitch_roll_mirror_adjuster.py +134 -0
- mx_bluesky/hyperion/device_setup_plans/manipulate_sample.py +110 -0
- mx_bluesky/hyperion/device_setup_plans/position_detector.py +16 -0
- mx_bluesky/hyperion/device_setup_plans/read_hardware_for_setup.py +60 -0
- mx_bluesky/hyperion/device_setup_plans/setup_oav.py +87 -0
- mx_bluesky/hyperion/device_setup_plans/setup_panda.py +210 -0
- mx_bluesky/hyperion/device_setup_plans/setup_zebra.py +214 -0
- mx_bluesky/hyperion/device_setup_plans/smargon.py +25 -0
- mx_bluesky/hyperion/device_setup_plans/utils.py +55 -0
- mx_bluesky/hyperion/device_setup_plans/xbpm_feedback.py +93 -0
- mx_bluesky/hyperion/exceptions.py +47 -0
- mx_bluesky/hyperion/experiment_plans/__init__.py +30 -0
- mx_bluesky/hyperion/experiment_plans/experiment_registry.py +93 -0
- mx_bluesky/hyperion/experiment_plans/flyscan_xray_centre_plan.py +537 -0
- mx_bluesky/hyperion/experiment_plans/grid_detect_then_xray_centre_plan.py +209 -0
- mx_bluesky/hyperion/experiment_plans/load_centre_collect_full_plan.py +46 -0
- mx_bluesky/hyperion/experiment_plans/oav_grid_detection_plan.py +173 -0
- mx_bluesky/hyperion/experiment_plans/oav_snapshot_plan.py +81 -0
- mx_bluesky/hyperion/experiment_plans/optimise_attenuation_plan.py +463 -0
- mx_bluesky/hyperion/experiment_plans/pin_centre_then_xray_centre_plan.py +119 -0
- mx_bluesky/hyperion/experiment_plans/pin_tip_centring_plan.py +164 -0
- mx_bluesky/hyperion/experiment_plans/robot_load_and_change_energy.py +237 -0
- mx_bluesky/hyperion/experiment_plans/robot_load_then_centre_plan.py +162 -0
- mx_bluesky/hyperion/experiment_plans/rotation_scan_plan.py +436 -0
- mx_bluesky/hyperion/experiment_plans/set_energy_plan.py +60 -0
- mx_bluesky/hyperion/external_interaction/__init__.py +9 -0
- mx_bluesky/hyperion/external_interaction/callbacks/__init__.py +10 -0
- mx_bluesky/hyperion/external_interaction/callbacks/__main__.py +148 -0
- mx_bluesky/hyperion/external_interaction/callbacks/aperture_change_callback.py +22 -0
- mx_bluesky/hyperion/external_interaction/callbacks/common/__init__.py +0 -0
- mx_bluesky/hyperion/external_interaction/callbacks/common/callback_util.py +64 -0
- mx_bluesky/hyperion/external_interaction/callbacks/common/ispyb_mapping.py +62 -0
- mx_bluesky/hyperion/external_interaction/callbacks/grid_detection_callback.py +88 -0
- mx_bluesky/hyperion/external_interaction/callbacks/ispyb_callback_base.py +203 -0
- mx_bluesky/hyperion/external_interaction/callbacks/log_uid_tag_callback.py +20 -0
- mx_bluesky/hyperion/external_interaction/callbacks/logging_callback.py +29 -0
- mx_bluesky/hyperion/external_interaction/callbacks/plan_reactive_callback.py +101 -0
- mx_bluesky/hyperion/external_interaction/callbacks/robot_load/ispyb_callback.py +86 -0
- mx_bluesky/hyperion/external_interaction/callbacks/rotation/__init__.py +0 -0
- mx_bluesky/hyperion/external_interaction/callbacks/rotation/ispyb_callback.py +174 -0
- mx_bluesky/hyperion/external_interaction/callbacks/rotation/ispyb_mapping.py +17 -0
- mx_bluesky/hyperion/external_interaction/callbacks/rotation/nexus_callback.py +102 -0
- mx_bluesky/hyperion/external_interaction/callbacks/xray_centre/__init__.py +0 -0
- mx_bluesky/hyperion/external_interaction/callbacks/xray_centre/ispyb_callback.py +269 -0
- mx_bluesky/hyperion/external_interaction/callbacks/xray_centre/ispyb_mapping.py +53 -0
- mx_bluesky/hyperion/external_interaction/callbacks/xray_centre/nexus_callback.py +95 -0
- mx_bluesky/hyperion/external_interaction/callbacks/zocalo_callback.py +92 -0
- mx_bluesky/hyperion/external_interaction/config_server.py +35 -0
- mx_bluesky/hyperion/external_interaction/exceptions.py +13 -0
- mx_bluesky/hyperion/external_interaction/ispyb/__init__.py +0 -0
- mx_bluesky/hyperion/external_interaction/ispyb/data_model.py +95 -0
- mx_bluesky/hyperion/external_interaction/ispyb/exp_eye_store.py +125 -0
- mx_bluesky/hyperion/external_interaction/ispyb/ispyb_store.py +276 -0
- mx_bluesky/hyperion/external_interaction/ispyb/ispyb_utils.py +27 -0
- mx_bluesky/hyperion/external_interaction/nexus/__init__.py +0 -0
- mx_bluesky/hyperion/external_interaction/nexus/nexus_utils.py +148 -0
- mx_bluesky/hyperion/external_interaction/nexus/write_nexus.py +114 -0
- mx_bluesky/hyperion/log.py +99 -0
- mx_bluesky/hyperion/parameters/__init__.py +2 -0
- mx_bluesky/hyperion/parameters/cli.py +68 -0
- mx_bluesky/{parameters → hyperion/parameters}/components.py +80 -26
- mx_bluesky/hyperion/parameters/constants.py +158 -0
- mx_bluesky/hyperion/parameters/gridscan.py +221 -0
- mx_bluesky/hyperion/parameters/load_centre_collect.py +50 -0
- mx_bluesky/hyperion/parameters/robot_load.py +16 -0
- mx_bluesky/hyperion/parameters/rotation.py +160 -0
- mx_bluesky/hyperion/resources/panda/panda-gridscan.yaml +964 -0
- mx_bluesky/hyperion/tracing.py +28 -0
- mx_bluesky/hyperion/utils/context.py +84 -0
- mx_bluesky/hyperion/utils/utils.py +25 -0
- mx_bluesky/hyperion/utils/validation.py +196 -0
- mx_bluesky/jupyter_example.ipynb +3 -2
- {mx_bluesky-0.3.1.dist-info → mx_bluesky-1.2.0.dist-info}/METADATA +26 -11
- mx_bluesky-1.2.0.dist-info/RECORD +140 -0
- {mx_bluesky-0.3.1.dist-info → mx_bluesky-1.2.0.dist-info}/WHEEL +1 -1
- mx_bluesky-1.2.0.dist-info/entry_points.txt +8 -0
- mx_bluesky/i04/__init__.py +0 -3
- mx_bluesky/i24/serial/parameters/__init__.py +0 -15
- mx_bluesky/parameters/__init__.py +0 -31
- mx_bluesky-0.3.1.dist-info/RECORD +0 -67
- mx_bluesky-0.3.1.dist-info/entry_points.txt +0 -4
- /mx_bluesky/{i24 → beamlines}/__init__.py +0 -0
- /mx_bluesky/{i04 → beamlines/i04}/callbacks/murko_callback.py +0 -0
- /mx_bluesky/{i24/serial/extruder → beamlines/i24}/__init__.py +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/__init__.py +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/extruder/EX-gui-edm/microdrop_alignment.edl +0 -0
- /mx_bluesky/{i24/serial/fixed_target → beamlines/i24/serial/extruder}/__init__.py +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/ME14E-GeneralPurpose.edl +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/PMAC_Command.edl +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/Shutter_Control.edl +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/microdrop_alignment.edl +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/nudgechip.edl +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/short1-laser.png +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/FT-gui-edm/short2-laser.png +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/fixed_target/ft_utils.py +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/parameters/fixed_target/cs/cs_maker.json +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/parameters/fixed_target/cs/motor_direction.txt +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/parameters/fixed_target/pvar_files/minichip-oxford.pvar +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/parameters/fixed_target/pvar_files/oxford.pvar +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/run_extruder.sh +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/run_fixed_target.sh +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/run_ssx.sh +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/set_visit_directory.sh +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/setup_beamline/__init__.py +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/setup_beamline/ca.py +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/setup_beamline/pv.py +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/setup_beamline/setup_zebra_plans.py +0 -0
- /mx_bluesky/{i24 → beamlines/i24}/serial/start_blueapi.sh +0 -0
- {mx_bluesky-0.3.1.dist-info → mx_bluesky-1.2.0.dist-info}/LICENSE +0 -0
- {mx_bluesky-0.3.1.dist-info → mx_bluesky-1.2.0.dist-info}/top_level.txt +0 -0
mx_bluesky/_version.py
CHANGED
|
@@ -10,10 +10,10 @@ from dodal.devices.robot import BartRobot
|
|
|
10
10
|
from dodal.devices.smargon import Smargon
|
|
11
11
|
from dodal.devices.thawer import Thawer, ThawerStates
|
|
12
12
|
|
|
13
|
-
from mx_bluesky.i04.callbacks.murko_callback import MurkoCallback
|
|
13
|
+
from mx_bluesky.beamlines.i04.callbacks.murko_callback import MurkoCallback
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
def
|
|
16
|
+
def thaw_and_stream_to_redis(
|
|
17
17
|
time_to_thaw: float,
|
|
18
18
|
rotation: float = 360,
|
|
19
19
|
robot: BartRobot = inject("robot"),
|
|
@@ -26,6 +26,7 @@ def thaw_and_center(
|
|
|
26
26
|
sample_id = yield from bps.rd(robot.sample_id)
|
|
27
27
|
|
|
28
28
|
yield from bps.abs_set(oav.zoom_controller.level, "1.0x", wait=True)
|
|
29
|
+
yield from bps.abs_set(oav_to_redis_forwarder.sample_id, sample_id)
|
|
29
30
|
|
|
30
31
|
@subs_decorator(MurkoCallback(REDIS_HOST, REDIS_PASSWORD, MURKO_REDIS_DB))
|
|
31
32
|
@run_decorator(
|
|
@@ -38,14 +39,14 @@ def thaw_and_center(
|
|
|
38
39
|
"sample_id": sample_id,
|
|
39
40
|
}
|
|
40
41
|
)
|
|
41
|
-
def
|
|
42
|
+
def _thaw_and_stream_to_redis():
|
|
42
43
|
yield from bps.kickoff(oav_to_redis_forwarder, wait=True)
|
|
43
44
|
yield from bps.monitor(smargon.omega.user_readback, name="smargon")
|
|
44
45
|
yield from bps.monitor(oav_to_redis_forwarder.uuid, name="oav")
|
|
45
46
|
yield from thaw(time_to_thaw, rotation, thawer, smargon)
|
|
46
47
|
yield from bps.complete(oav_to_redis_forwarder)
|
|
47
48
|
|
|
48
|
-
yield from
|
|
49
|
+
yield from _thaw_and_stream_to_redis()
|
|
49
50
|
|
|
50
51
|
|
|
51
52
|
def thaw(
|
|
@@ -10,8 +10,8 @@ from functools import lru_cache
|
|
|
10
10
|
|
|
11
11
|
import requests
|
|
12
12
|
|
|
13
|
-
from mx_bluesky.i24.serial.parameters import SSXType
|
|
14
|
-
from mx_bluesky.i24.serial.setup_beamline import (
|
|
13
|
+
from mx_bluesky.beamlines.i24.serial.parameters import SSXType
|
|
14
|
+
from mx_bluesky.beamlines.i24.serial.setup_beamline import (
|
|
15
15
|
Detector,
|
|
16
16
|
Eiger,
|
|
17
17
|
Pilatus,
|
|
@@ -3,8 +3,8 @@ beginScreenProperties
|
|
|
3
3
|
major 4
|
|
4
4
|
minor 0
|
|
5
5
|
release 1
|
|
6
|
-
x
|
|
7
|
-
y
|
|
6
|
+
x 1316
|
|
7
|
+
y 573
|
|
8
8
|
w 450
|
|
9
9
|
h 180
|
|
10
10
|
font "arial-medium-r-18.0"
|
|
@@ -113,7 +113,7 @@ font "arial-medium-r-18.0"
|
|
|
113
113
|
buttonLabel "Move Stage"
|
|
114
114
|
numCmds 1
|
|
115
115
|
command {
|
|
116
|
-
0 "blueapi -c CONFIG_LOCATION controller run setup_detector_stage '\{\"expt_type\":\"Serial Jet\"\}'"
|
|
116
|
+
0 "blueapi -c CONFIG_LOCATION controller run setup_detector_stage '\{\"expt_type\":\"Serial Jet\",\"detector_stage\":\"detector_motion\"\}'"
|
|
117
117
|
}
|
|
118
118
|
endObjectProperties
|
|
119
119
|
|
|
@@ -3,8 +3,8 @@ beginScreenProperties
|
|
|
3
3
|
major 4
|
|
4
4
|
minor 0
|
|
5
5
|
release 1
|
|
6
|
-
x
|
|
7
|
-
y
|
|
6
|
+
x 1006
|
|
7
|
+
y 192
|
|
8
8
|
w 700
|
|
9
9
|
h 900
|
|
10
10
|
font "arial-medium-r-18.0"
|
|
@@ -370,7 +370,7 @@ font "arial-medium-r-24.0"
|
|
|
370
370
|
buttonLabel "Start"
|
|
371
371
|
numCmds 1
|
|
372
372
|
command {
|
|
373
|
-
0 "blueapi -c CONFIG_LOCATION controller run run_extruder_plan"
|
|
373
|
+
0 "blueapi -c CONFIG_LOCATION controller run run_extruder_plan '\{\"zebra\":\"zebra\",\"aperture\":\"aperture\",\"backlight\":\"backlight\",\"beamstop\":\"beamstop\",\"detector_stage\":\"detector_motion\",\"shutter\":\"shutter\",\"dcm\":\"dcm\"\}'"
|
|
374
374
|
}
|
|
375
375
|
endObjectProperties
|
|
376
376
|
|
|
@@ -832,7 +832,7 @@ botShadowColor index 11
|
|
|
832
832
|
font "arial-medium-r-18.0"
|
|
833
833
|
numCmds 1
|
|
834
834
|
command {
|
|
835
|
-
0 "blueapi -c CONFIG_LOCATION controller run initialise_extruder"
|
|
835
|
+
0 "blueapi -c CONFIG_LOCATION controller run initialise_extruder '\{\"detector_stage\":\"detector_motion\"\}'"
|
|
836
836
|
}
|
|
837
837
|
endObjectProperties
|
|
838
838
|
|
|
@@ -2179,7 +2179,7 @@ font "arial-medium-r-20.0"
|
|
|
2179
2179
|
buttonLabel "Laser On"
|
|
2180
2180
|
numCmds 1
|
|
2181
2181
|
command {
|
|
2182
|
-
0 "blueapi -c CONFIG_LOCATION controller run laser_check '\{\"mode\":\"laseron\"\}'"
|
|
2182
|
+
0 "blueapi -c CONFIG_LOCATION controller run laser_check '\{\"mode\":\"laseron\",\"zebra\":\"zebra\",\"detector_stage\":\"detector_motion\"\}'"
|
|
2183
2183
|
}
|
|
2184
2184
|
endObjectProperties
|
|
2185
2185
|
|
|
@@ -2201,7 +2201,7 @@ font "arial-medium-r-20.0"
|
|
|
2201
2201
|
buttonLabel "Laser Off"
|
|
2202
2202
|
numCmds 1
|
|
2203
2203
|
command {
|
|
2204
|
-
0 "blueapi -c CONFIG_LOCATION controller run laser_check '\{\"mode\":\"laseroff\"\}'"
|
|
2204
|
+
0 "blueapi -c CONFIG_LOCATION controller run laser_check '\{\"mode\":\"laseroff\",\"zebra\":\"zebra\",\"detector_stage\":\"detector_motion\"\}'"
|
|
2205
2205
|
}
|
|
2206
2206
|
endObjectProperties
|
|
2207
2207
|
|
|
@@ -2223,7 +2223,7 @@ font "arial-medium-r-18.0"
|
|
|
2223
2223
|
buttonLabel "Enter hutch"
|
|
2224
2224
|
numCmds 1
|
|
2225
2225
|
command {
|
|
2226
|
-
0 "blueapi -c CONFIG_LOCATION controller run enter_hutch"
|
|
2226
|
+
0 "blueapi -c CONFIG_LOCATION controller run enter_hutch '\{\"detector_stage\":\"detector_motion\"\}'"
|
|
2227
2227
|
}
|
|
2228
2228
|
endObjectProperties
|
|
2229
2229
|
|
|
@@ -27,17 +27,20 @@ from dodal.devices.i24.dual_backlight import DualBacklight
|
|
|
27
27
|
from dodal.devices.i24.i24_detector_motion import DetectorMotion
|
|
28
28
|
from dodal.devices.zebra import DISCONNECT, SOFT_IN3, Zebra
|
|
29
29
|
|
|
30
|
-
from mx_bluesky.i24.serial import log
|
|
31
|
-
from mx_bluesky.i24.serial.dcid import DCID
|
|
32
|
-
from mx_bluesky.i24.serial.parameters import ExtruderParameters, SSXType
|
|
33
|
-
from mx_bluesky.i24.serial.parameters.constants import
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
from mx_bluesky.beamlines.i24.serial import log
|
|
31
|
+
from mx_bluesky.beamlines.i24.serial.dcid import DCID
|
|
32
|
+
from mx_bluesky.beamlines.i24.serial.parameters import ExtruderParameters, SSXType
|
|
33
|
+
from mx_bluesky.beamlines.i24.serial.parameters.constants import (
|
|
34
|
+
PARAM_FILE_NAME,
|
|
35
|
+
PARAM_FILE_PATH,
|
|
36
|
+
)
|
|
37
|
+
from mx_bluesky.beamlines.i24.serial.setup_beamline import Pilatus, caget, caput, pv
|
|
38
|
+
from mx_bluesky.beamlines.i24.serial.setup_beamline import setup_beamline as sup
|
|
39
|
+
from mx_bluesky.beamlines.i24.serial.setup_beamline.setup_detector import (
|
|
37
40
|
UnknownDetectorType,
|
|
38
41
|
get_detector_type,
|
|
39
42
|
)
|
|
40
|
-
from mx_bluesky.i24.serial.setup_beamline.setup_zebra_plans import (
|
|
43
|
+
from mx_bluesky.beamlines.i24.serial.setup_beamline.setup_zebra_plans import (
|
|
41
44
|
GATE_START,
|
|
42
45
|
TTL_EIGER,
|
|
43
46
|
TTL_PILATUS,
|
|
@@ -49,7 +52,7 @@ from mx_bluesky.i24.serial.setup_beamline.setup_zebra_plans import (
|
|
|
49
52
|
setup_zebra_for_extruder_with_pump_probe_plan,
|
|
50
53
|
setup_zebra_for_quickshot_plan,
|
|
51
54
|
)
|
|
52
|
-
from mx_bluesky.i24.serial.write_nexus import call_nexgen
|
|
55
|
+
from mx_bluesky.beamlines.i24.serial.write_nexus import call_nexgen
|
|
53
56
|
|
|
54
57
|
usage = "%(prog)s command [options]"
|
|
55
58
|
logger = logging.getLogger("I24ssx.extruder")
|
|
@@ -3,8 +3,8 @@ beginScreenProperties
|
|
|
3
3
|
major 4
|
|
4
4
|
minor 0
|
|
5
5
|
release 1
|
|
6
|
-
x
|
|
7
|
-
y
|
|
6
|
+
x 1203
|
|
7
|
+
y 544
|
|
8
8
|
w 550
|
|
9
9
|
h 380
|
|
10
10
|
font "arial-medium-r-18.0"
|
|
@@ -690,7 +690,7 @@ botShadowColor index 11
|
|
|
690
690
|
font "arial-medium-r-18.0"
|
|
691
691
|
numCmds 1
|
|
692
692
|
command {
|
|
693
|
-
0 "blueapi -c CONFIG_LOCATION controller run cs_reset"
|
|
693
|
+
0 "blueapi -c CONFIG_LOCATION controller run cs_reset '\{\"pmac\":\"pmac\"\}'"
|
|
694
694
|
}
|
|
695
695
|
endObjectProperties
|
|
696
696
|
|
|
@@ -3,8 +3,8 @@ beginScreenProperties
|
|
|
3
3
|
major 4
|
|
4
4
|
minor 0
|
|
5
5
|
release 1
|
|
6
|
-
x
|
|
7
|
-
y
|
|
6
|
+
x 1205
|
|
7
|
+
y 579
|
|
8
8
|
w 450
|
|
9
9
|
h 180
|
|
10
10
|
font "arial-medium-r-18.0"
|
|
@@ -113,7 +113,7 @@ font "arial-medium-r-18.0"
|
|
|
113
113
|
buttonLabel "Move Stage"
|
|
114
114
|
numCmds 1
|
|
115
115
|
command {
|
|
116
|
-
0 "blueapi -c CONFIG_LOCATION controller run setup_detector_stage '\{\"expt_type\":\"Serial Fixed\"\}'"
|
|
116
|
+
0 "blueapi -c CONFIG_LOCATION controller run setup_detector_stage '\{\"expt_type\":\"Serial Fixed\",\"detector_stage\":\"detector_motion\"\}'"
|
|
117
117
|
}
|
|
118
118
|
endObjectProperties
|
|
119
119
|
|