qipe-nlab / Labber-PSICT

The Pulse-Sequence Instrument Control Tool. Developing scripts to allow string-based input to Labber for more flexible control over pulse sequence configurations.
MIT License
3 stars 1 forks source link

h5py database access call deprecation #9

Closed SamWolski closed 5 years ago

SamWolski commented 5 years ago

Original report by Samuel Wolski (Bitbucket: 557058:90b732eb-6ab1-4b27-9495-eb00eafde259, GitHub: samwolski).


Historically, database.value has been used to access hdf5 values. This is done specifically in the get_sl_index and sort_iteration_order methods of the LabberExporter class. However, this access method is now deprecated, and so the corresponding PSICT methods need to be updated.

SamWolski commented 5 years ago

Original comment by Samuel Wolski (Bitbucket: 557058:90b732eb-6ab1-4b27-9495-eb00eafde259, GitHub: samwolski).


Update hdf5 dataset reference method

This fixes issue #9 (h5py database access deprecation).