You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import pims
# A video file you can load with pims.Video
f = 'foo.bar'
with pims.Video(f) as vid:
frame = vid[0]
# Expected to raise ValueError
print(vid[1].shape)
vid.close()
# Expected to raise ValueError
print(vid[2].shape)
Using the context manager it is expected that vid will be closed and subsequent frames will not be available for access.
However, it seems that the close method remains unimplemented (see 1, 2).
The text was updated successfully, but these errors were encountered:
Using the context manager it is expected that
vid
will be closed and subsequent frames will not be available for access.However, it seems that the
close
method remains unimplemented (see 1, 2).The text was updated successfully, but these errors were encountered: