Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/murfey/workflows/spa/ctf_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from smartem_backend.api_client import SmartEMAPIClient
from smartem_backend.model.http_request import MicrographUpdateRequest
from smartem_backend.model.http_response import MicrographResponse
from smartem_backend.mq_publisher import publish_ctf_estimation_completed
from smartem_common.entity_status import MicrographStatus

SMARTEM_ACTIVE = True
Expand Down Expand Up @@ -47,10 +46,6 @@ def ctf_estimated(message: dict, murfey_db: Session) -> dict[str, bool]:
update,
MicrographResponse,
)
publish_ctf_estimation_completed(
micrograph_uuid=movie.smartem_uuid,
ctf_max_res=message["ctf_max_resolution"],
)
except Exception:
logger.warning(
"Failed to emit CTF estimation complete event to smartem",
Expand Down
6 changes: 0 additions & 6 deletions src/murfey/workflows/spa/motion_correction.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from smartem_backend.api_client import SmartEMAPIClient
from smartem_backend.model.http_request import MicrographUpdateRequest
from smartem_backend.model.http_response import MicrographResponse
from smartem_backend.mq_publisher import publish_motion_correction_completed
from smartem_common.entity_status import MicrographStatus

SMARTEM_ACTIVE = True
Expand Down Expand Up @@ -49,11 +48,6 @@ def motion_corrected(message: dict, murfey_db: Session) -> dict[str, bool]:
update,
MicrographResponse,
)
publish_motion_correction_completed(
micrograph_uuid=movie.smartem_uuid,
total_motion=message["total_motion"],
average_motion=message["average_motion"],
)
except Exception:
logger.warning(
"Failed to emit motion correction complete event to smartem",
Expand Down
7 changes: 0 additions & 7 deletions src/murfey/workflows/spa/picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
from smartem_backend.api_client import SmartEMAPIClient
from smartem_backend.model.http_request import MicrographUpdateRequest
from smartem_backend.model.http_response import MicrographResponse
from smartem_backend.mq_publisher import publish_particle_picking_completed
from smartem_common.entity_status import MicrographStatus

SMARTEM_ACTIVE = True
Expand Down Expand Up @@ -465,12 +464,6 @@ def particles_picked(message: dict, murfey_db: Session) -> dict[str, bool]:
update,
MicrographResponse,
)
publish_particle_picking_completed(
micrograph_uuid=movie.smartem_uuid,
number_of_particles_picked=len(
message.get("particle_diameters", [])
),
)
except Exception:
logger.warning(
"Failed to emit particle picking complete event to smartem",
Expand Down
Loading