@@ -199,7 +199,11 @@ def _populate_parameters_from_agamemnon(
199199 with_energy_params = _get_withenergy_parameters_from_agamemnon (agamemnon_params )
200200 pin_type = _get_pin_type_from_agamemnon_collect_parameters (agamemnon_params )
201201 collections = agamemnon_params ["collection" ]
202- visit_directory , file_name = path .split (agamemnon_params ["prefix" ])
202+ rotation_storage_directory , rotation_file_name = path .split (
203+ agamemnon_params ["prefix" ]
204+ )
205+ xrc_storage_directory , xrc_file_name = path .split (agamemnon_params ["xrc_prefix" ])
206+ snapshot_directory = agamemnon_params ["jpegs_dir" ]
203207 use_roi_mode = get_hyperion_feature_settings ().XRC_USE_ROI_MODE
204208 return [
205209 LoadCentreCollectParams .model_validate (
@@ -215,8 +219,9 @@ def _populate_parameters_from_agamemnon(
215219 },
216220 ** with_energy_params ,
217221 "robot_load_then_centre" : {
218- "storage_directory" : str (visit_directory ) + "/xraycentring" ,
219- "file_name" : file_name ,
222+ "snapshot_directory" : str (snapshot_directory ),
223+ "storage_directory" : str (xrc_storage_directory ),
224+ "file_name" : xrc_file_name ,
220225 "pin_type" : pin_type ,
221226 "omega_starts_deg" : [0.0 , 90.0 ],
222227 "chi_start_deg" : collection ["chi" ],
@@ -226,9 +231,10 @@ def _populate_parameters_from_agamemnon(
226231 },
227232 "multi_rotation_scan" : {
228233 "comment" : collection ["comment" ],
229- "storage_directory" : str (visit_directory ),
234+ "snapshot_directory" : str (snapshot_directory ),
235+ "storage_directory" : str (rotation_storage_directory ),
230236 "exposure_time_s" : collection ["exposure_time" ],
231- "file_name" : file_name ,
237+ "file_name" : rotation_file_name ,
232238 "transmission_frac" : collection ["transmission" ],
233239 "rotation_increment_deg" : collection ["omega_increment" ],
234240 "ispyb_experiment_type" : collection ["experiment_type" ],
0 commit comments