Skip to content

Commit 64a85eb

Browse files
committed
Only mark processing requested once message sent
1 parent 692be6e commit 64a85eb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/murfey/workflows/sxt/process_sxt_tilt_series.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def process_sxt_tilt_series_workflow(
5353
tag=tilt_series_info.tag,
5454
rsync_source=tilt_series_info.source,
5555
tilt_series_length=tilt_series_info.tilt_series_length,
56-
processing_requested=True,
56+
processing_requested=False,
5757
)
5858
murfey_db.add(tilt_series)
5959
murfey_db.commit()
@@ -116,3 +116,6 @@ def process_sxt_tilt_series_workflow(
116116
logger.info(
117117
f"No transport object found. Zocalo message would be {sanitise(str(zocalo_message))}"
118118
)
119+
tilt_series.processing_requested = True
120+
murfey_db.add(tilt_series)
121+
murfey_db.commit()

0 commit comments

Comments
 (0)