-
Notifications
You must be signed in to change notification settings - Fork 6
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
Broken Links when Exporting #194
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #194 +/- ##
==========================================
+ Coverage 86.36% 86.52% +0.16%
==========================================
Files 5 5
Lines 1188 1210 +22
Branches 297 304 +7
==========================================
+ Hits 1026 1047 +21
- Misses 103 104 +1
Partials 59 59 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
More Notes: If FileA contains an external link to a dataset in FileX, then FileB should also contain an external link to the dataset in FileX. |
Goal for this PR:
|
Just in case this is relevant for this PR. The following test cases mirror tests from HDMF but were disabled in the hdfm_zarr test suite because links on export didn't fully work. If this PR fixes this, then we should also look at updating these tests. hdmf-zarr/tests/unit/base_tests_zarrio.py Lines 1329 to 1521 in 8ca5787
hdmf-zarr/tests/unit/test_io_convert.py Lines 993 to 1069 in 8ca5787
|
Good to know. I believe my tests are similar if not the same ones. Thanks for pointing this out so we don't have duplicates. |
I made some minor comments regarding the tests. Otherwise looks good to me. |
Motivation
This is a refactor of export to formally define mechanisms for references and internal/external links. This Pr is the first stage as it covers only Zarr to Zarr export and does not yet support compound cases.
This also removes TempStore from the export test suite in favor of files that will be created and removed during testing. This helps with debugging and also allows for behavior that better matches the real world.
Export Cases go as follows:
How to test the behavior?
Checklist
ruff
from the source directory.