Skip to content

Commit bf79b70

Browse files
committed
Return all tomo processing params rather than count
1 parent 96a75f2 commit bf79b70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/murfey/server/feedback.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2303,10 +2303,10 @@ def feedback_callback(header: dict, message: dict) -> None:
23032303
.where(db.ProcessingJob.recipe == "em-tomo-preprocess")
23042304
).one()
23052305
if not murfey_db.exec(
2306-
select(func.count(db.TomographyProcessingParameters.dcg_id)).where(
2306+
select(db.TomographyProcessingParameters.dcg_id).where(
23072307
db.TomographyProcessingParameters.dcg_id == collected_ids[0].id
23082308
)
2309-
).one():
2309+
).all():
23102310
params = db.TomographyProcessingParameters(
23112311
dcg_id=collected_ids[0].id,
23122312
pixel_size=float(message["pixel_size_on_image"]) * 10**10,

0 commit comments

Comments
 (0)