Skip to content

Move h5py import to specific function.#33

Merged
ericonr merged 1 commit intolnls-fac:masterfrom
gustavosr8:minimize-dependencies
Mar 13, 2025
Merged

Move h5py import to specific function.#33
ericonr merged 1 commit intolnls-fac:masterfrom
gustavosr8:minimize-dependencies

Conversation

@gustavosr8
Copy link
Contributor

This makes code that uses this library less dependent on specific imports.

@gustavosr8
Copy link
Contributor Author

@anacso17 @ericonr

@anacso17 anacso17 self-requested a review March 7, 2025 13:58
@gustavosr8 gustavosr8 force-pushed the minimize-dependencies branch from 2646c75 to 9b82f74 Compare March 10, 2025 13:08
When we use mathphys on siriuspy to use any other function then load or
save hdf5 files, we shouldn't have to install h5py, since we are not
using any of the resources from this lib.
@gustavosr8 gustavosr8 force-pushed the minimize-dependencies branch from 9b82f74 to deba706 Compare March 10, 2025 17:48
@gustavosr8 gustavosr8 requested review from anacso17 and ericonr March 10, 2025 18:12
@gustavosr8
Copy link
Contributor Author

I don't have a merge button, so if any of the codeowners could merge I'd be grateful!

@ericonr ericonr merged commit d7c7e1d into lnls-fac:master Mar 13, 2025
@gustavosr8 gustavosr8 deleted the minimize-dependencies branch March 14, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants