Closed Xarthisius closed 2 years ago
Merging #542 (98da4b6) into master (0186a99) will decrease coverage by
0.19%
. The diff coverage is72.41%
.
@@ Coverage Diff @@
## master #542 +/- ##
==========================================
- Coverage 92.87% 92.67% -0.20%
==========================================
Files 58 58
Lines 4560 4575 +15
==========================================
+ Hits 4235 4240 +5
- Misses 325 335 +10
Impacted Files | Coverage Δ | |
---|---|---|
server/rest/dataset.py | 88.09% <ø> (ø) |
|
server/lib/globus/globus_provider.py | 62.16% <20.00%> (-1.39%) |
:arrow_down: |
server/lib/dataone/provider.py | 98.82% <100.00%> (+0.01%) |
:arrow_up: |
server/lib/dataverse/provider.py | 95.98% <100.00%> (-0.74%) |
:arrow_down: |
server/lib/zenodo/provider.py | 94.02% <100.00%> (-3.65%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 0186a99...98da4b6. Read the comment docs.
What's new?
For Zenodo, Dataverse, DataONE and Globus providers this PR annotates registered data with a) location of a file/folder relative to the original dataset root b) identifier of root dataset (in case there's a specific file/folder identifier it's added as
directIdentifer
to metadata)Why?
Currently this information is derived ad hoc from the structure of WholeTale Catalog using a lot of implicit assumptions regarding how registering works for a given provider. With this PR it's going to be easy to export / import external data regardless of its location in girder.
How to test?
dsRelPath
in item/folder metadata.TODO