-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add public API to read and write HDF5 #4
Conversation
* DataSetInfo os now in its own namespace. * HDF5ImageJ now has `hdf5list` method to list contents of HDF5 file * `hdf5read` and `hdf5write` methods are now more flexible * HDF5_Reader_Vibez now uses abstracted DataSetInfo class
...old functions behave as previously.
This should close #1 :) |
Please wait with merging - apparently this somehow fails when HDF5 has more than one dataset. Working this out now... |
OK - it is now fixed and tested with several HDF5 files! |
@rejsmont Thank you very much for the patches, and sorry for the long delay in reply! @kmdouglass What do you think? Do you have time to review this? |
Need to include changes introduced by @GFleishman before merging. |
# Conflicts: # pom.xml # src/main/java/sc/fiji/hdf5/HDF5_Reader_Vibez.java
@GFleishman could you please review this PR? Please make sure that links functionality is preserved. Thanks in advance! |
Thanks again @rejsmont, the patch looks good to me. Since it essentially all new API, the chances of breaking backwards compatibility are less. (As far as I could see, no existing public API was broken or changed... right?) The main thing missing is unit tests, but it's really up to you whether you have time to write any. If you do not have any tests, then future breakages will be harder to detect. |
Accepting this even though no unit tests are present. Will add issue to add unit tests ASAP. |
hdf5list
method to list contents of HDF5 filehdf5read
andhdf5write
methods are now more flexible (writers take ImagePlus as argument)