Skip to content

Commit ffde423

Browse files
committed
Register tilt series as completed if they have more tilts than the mdoc
1 parent bc3cb4f commit ffde423

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/murfey/server/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ def check_tilt_series_mc(tilt_series_id: int) -> bool:
116116
).all()
117117
return (
118118
all(r[0].motion_corrected for r in results)
119-
and len(results) == results[0][1].tilt_series_length
119+
and len(results) >= results[0][1].tilt_series_length
120+
and results[0][1].tilt_series_length > 0
120121
)
121122

122123

0 commit comments

Comments
 (0)