Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CNMFE notebook update #1207

Merged
merged 13 commits into from
Jan 25, 2024
2 changes: 1 addition & 1 deletion caiman/base/movies.py
Original file line number Diff line number Diff line change
Expand Up @@ -2553,7 +2553,7 @@ def view(button):
if save_movie:
if frame.ndim < 3:
frame = np.repeat(frame[:, :, None], 3, axis=-1)
frame = np.minimum((frame * 255.), 255).astype('u1')
frame = frame.astype('u1')
out.write(frame)
if backend == 'opencv' and (cv2.waitKey(int(1. / fr * 1000)) & 0xFF == ord('q')):
looping = False
Expand Down
Loading