Skip to content

Commit d582eb4

Browse files
committed
unpack object
1 parent 5e74d82 commit d582eb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/murfey/workflows/spa/smartem_atlas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
def smartem_atlas(message: dict, murfey_db: SQLModelSession):
3333
session_id = message.get("session_id")
34-
atlas_registration_data = AtlasRegistration(message["atlas_registration_data"])
34+
atlas_registration_data = AtlasRegistration(**message["atlas_registration_data"])
3535
if SMARTEM_ACTIVE and atlas_registration_data.acquisition_uuid is not None:
3636
session = murfey_db.exec(
3737
select(MurfeySession).where(MurfeySession.id == session_id)

0 commit comments

Comments
 (0)