Skip to content

Commit 0275c5a

Browse files
committed
use configuration for more recipes
1 parent 38088f7 commit 0275c5a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/murfey/server/feedback.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def _release_2d_hold(message: dict, _db):
372372
"session_id": message["session_id"],
373373
"node_creator_queue": machine_config.node_creator_queue,
374374
},
375-
"recipes": ["em-spa-class2d"],
375+
"recipes": [machine_config.recipes.get("em-spa-class2d", "em-spa-class2d")],
376376
}
377377
if first_class2d.complete:
378378
feedback_params.next_job += (
@@ -458,7 +458,7 @@ def _release_3d_hold(message: dict, _db):
458458
),
459459
"node_creator_queue": machine_config.node_creator_queue,
460460
},
461-
"recipes": ["em-spa-class3d"],
461+
"recipes": [machine_config.recipes.get("em-spa-class3d", "em-spa-class3d")],
462462
}
463463
if murfey.server._transport_object:
464464
zocalo_message["parameters"]["feedback_queue"] = (
@@ -539,7 +539,7 @@ def _release_refine_hold(message: dict, _db):
539539
_pj_id(message["program_id"], _db, recipe="em-spa-refine"), _db
540540
),
541541
},
542-
"recipes": ["em-spa-refine"],
542+
"recipes": [machine_config.recipes.get("em-spa-refine", "em-spa-refine")],
543543
}
544544
if murfey.server._transport_object:
545545
zocalo_message["parameters"]["feedback_queue"] = (

0 commit comments

Comments
 (0)