We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e23ed0 + 1746399 commit 62b9098Copy full SHA for 62b9098
labscript/labscript.py
@@ -2279,7 +2279,7 @@ def generate_code():
2279
elif not os.path.exists(compiler.hdf5_filename):
2280
with h5py.File(compiler.hdf5_filename ,'w') as hdf5_file:
2281
hdf5_file.create_group('globals')
2282
- with h5py.File(compiler.hdf5_filename) as hdf5_file:
+ with h5py.File(compiler.hdf5_filename, 'a') as hdf5_file:
2283
try:
2284
hdf5_file.create_group('devices')
2285
hdf5_file.create_group('calibrations')
0 commit comments