You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the DataManager classes can only save data, they cannot load it. When working on #19 I found I was having to manually load the data saved by a DataManager using H5py. Instead, a DataManager should have a load_data method which simply returns a h5py.File instance of the data file, which can then be accessed.
Since this will be common to all DataManager instances it should be implemented in the abstract _DataManager class.
Considerations
This should have appropriate error checks which catch if the user has not already specified the filename and data_path attributes.
The text was updated successfully, but these errors were encountered:
Feature Request
Currently, the
DataManager
classes can only save data, they cannot load it. When working on #19 I found I was having to manually load the data saved by aDataManager
using H5py. Instead, aDataManager
should have aload_data
method which simply returns ah5py.File
instance of the data file, which can then be accessed.Since this will be common to all
DataManager
instances it should be implemented in the abstract_DataManager
class.Considerations
This should have appropriate error checks which catch if the user has not already specified the
filename
anddata_path
attributes.The text was updated successfully, but these errors were encountered: