Skip to content

Commit ba2d1d2

Browse files
committed
Fixed bug with grid square registration not running if the CLEM atlas is the last dataset to be registered
1 parent 406d510 commit ba2d1d2

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/murfey/workflows/clem/register_preprocessing_results.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -501,13 +501,12 @@ def run(message: dict, murfey_db: Session, demo: bool = False) -> dict[str, bool
501501
)
502502

503503
try:
504-
# Register dataset as grid square
505-
if "Overview_" not in result.series_name:
506-
_register_grid_square(
507-
session_id=session_id,
508-
result=result,
509-
murfey_db=murfey_db,
510-
)
504+
# Register CLEM image series as grid squares
505+
_register_grid_square(
506+
session_id=session_id,
507+
result=result,
508+
murfey_db=murfey_db,
509+
)
511510
except Exception:
512511
# Log error but allow workflow to proceed
513512
logger.error(

0 commit comments

Comments
 (0)