Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement loading capabilities of DataManager #21

Open
wheelerMT opened this issue Jun 23, 2024 · 0 comments
Open

Implement loading capabilities of DataManager #21

wheelerMT opened this issue Jun 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@wheelerMT
Copy link
Owner

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 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.

@wheelerMT wheelerMT added the enhancement New feature or request label Jun 24, 2024
@wheelerMT wheelerMT self-assigned this Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant