Skip to content

Commit bfa6932

Browse files
committed
Addresses #47 for this module
1 parent 1189334 commit bfa6932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labscript_utils/camera_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def transition_to_static(self, h5_filepath):
158158
them to the h5 file"""
159159
import pyfits
160160
start_time = time.time()
161-
with h5py.File(h5_filepath) as f:
161+
with h5py.File(h5_filepath, 'r+') as f:
162162
group = f['devices']['camera']
163163
if not 'EXPOSURES' in group:
164164
print('no images taken this shot')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy