Skip to content

Commit c004aa2

Browse files
committed
Add sxt router and rename recipe
1 parent 54c4272 commit c004aa2

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/murfey/client/contexts/sxt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def register_sxt_data_collection(
8585
)
8686

8787
recipes_to_assign_pjids = [
88-
"sxt-tomo-align",
88+
"sxt-aretomo",
8989
]
9090
for recipe in recipes_to_assign_pjids:
9191
capture_post(

src/murfey/server/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class Settings(BaseSettings):
9696
app.include_router(murfey.server.api.workflow.router)
9797
app.include_router(murfey.server.api.workflow.correlative_router)
9898
app.include_router(murfey.server.api.workflow.spa_router)
99+
app.include_router(murfey.server.api.workflow.sxt_router)
99100
app.include_router(murfey.server.api.workflow.tomo_router)
100101
app.include_router(murfey.server.api.clem.router)
101102
app.include_router(murfey.server.api.workflow_fib.router)

src/murfey/workflows/sxt/process_sxt_tilt_series.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def process_sxt_tilt_series_workflow(
6464
.where(DataCollection.dcg_id == DataCollectionGroup.id)
6565
.where(ProcessingJob.dc_id == DataCollection.id)
6666
.where(AutoProcProgram.pj_id == ProcessingJob.id)
67-
.where(ProcessingJob.recipe == "sxt-tomo-align")
67+
.where(ProcessingJob.recipe == "sxt-aretomo")
6868
).one()
6969
instrument_name = (
7070
murfey_db.exec(select(Session).where(Session.id == session_id))
@@ -93,7 +93,7 @@ def process_sxt_tilt_series_workflow(
9393
)
9494
stack_file.parent.mkdir(parents=True, exist_ok=True)
9595
zocalo_message = {
96-
"recipes": ["sxt-tomo-align"],
96+
"recipes": ["sxt-aretomo"],
9797
"parameters": {
9898
"txrm_file": tilt_series_info.txrm,
9999
"dcid": collected_ids[1].id,

0 commit comments

Comments
 (0)