Skip to content

Commit f511242

Browse files
committed
'slot' should be optional
1 parent 8641d38 commit f511242

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/murfey/server/ispyb.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,11 @@ def do_insert_atlas(self, record: Atlas):
153153
return {"success": False, "return_value": None}
154154

155155
def do_update_atlas(
156-
self, atlas_id: int, atlas_image: str, pixel_size: float, slot: int
156+
self,
157+
atlas_id: int,
158+
atlas_image: str,
159+
pixel_size: float,
160+
slot: int | None,
157161
):
158162
try:
159163
with ISPyBSession() as db:

0 commit comments

Comments
 (0)