Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions labscript_devices/IMAQdxCamera/blacs_workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,9 @@ def transition_to_manual(self):
frametype, data=data, dtype='uint16', compression='gzip'
)
# Specify this dataset should be viewed as an image
dset.attrs['CLASS'] = np.string_('IMAGE')
dset.attrs['IMAGE_VERSION'] = np.string_('1.2')
dset.attrs['IMAGE_SUBCLASS'] = np.string_('IMAGE_GRAYSCALE')
dset.attrs['CLASS'] = np.bytes_('IMAGE')
dset.attrs['IMAGE_VERSION'] = np.bytes_('1.2')
dset.attrs['IMAGE_SUBCLASS'] = np.bytes_('IMAGE_GRAYSCALE')
dset.attrs['IMAGE_WHITE_IS_ZERO'] = np.uint8(0)

# If the images are all the same shape, send them to the GUI for display:
Expand Down