forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refact TSV to CEDAR template generation using optional existing template
When converting a metadatablock, ie. a TSV to a CEDAR template we can have two cases 1. If it is an initial generation, we generate the CEDAR template solely based on the data stored in the DB tables 2. If we have already generated a CEDAR template for the MDB and exported it to CEDAR, then we will also load it back right away and store it in MetadatablockArp as well as for compund fields in DatasetFielTypeArp. In this case when we generate a CEDAR template based on a TSV/MDB we load the previously known CEDAR template representation and augment it with date coming from the TSV. This allows updating a CEDAR template with changed MDB values while keeping values in the CEDAR template that are not related to MDB-s, ie. some "_arp" values that are only used by AROMA via profiles.
- Loading branch information
Showing
5 changed files
with
124 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.