diff --git a/labscript_utils/camera_server.py b/labscript_utils/camera_server.py index 3389e66..cf576b5 100644 --- a/labscript_utils/camera_server.py +++ b/labscript_utils/camera_server.py @@ -158,7 +158,7 @@ def transition_to_static(self, h5_filepath): them to the h5 file""" import pyfits start_time = time.time() - with h5py.File(h5_filepath) as f: + with h5py.File(h5_filepath, 'r+') as f: group = f['devices']['camera'] if not 'EXPOSURES' in group: print('no images taken this shot')
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: