Closed jmeline closed 9 years ago
I think I have finally gotten rid of all of the upper case "S" characters in Datasets within the ODM2 DBWrench schema and the scripts for generating blank ODM2 databases. We were inconsistent in our use. Since "dataset" is one word, it will appear in ODM2 as "Dataset".
Fixed.
In the generated YAML file, there are two more locations that need to be fixed.
DataSetCitations:
- {DataSetObj: *DataSetID0001, CitationObj: *CitationID0001, RelationshipTypeCV: IsAllOf}
DataSetsResults:
- {DataSetObj: *DataSetID0001, ResultObj: *ResultID0001}
- {DataSetObj: *DataSetID0001, ResultObj: *ResultID0002}
- {DataSetObj: *DataSetID0001, ResultObj: *ResultID0003}
In the SQL, these have been changed by the recent changes in the database but haven't been changed in the generated YAML files.
Also, I am not sure where this needs to go, but 'SamplingFeaturesExternalIdentifiers' in the YAML file doesn't exist in the database schema, it is 'SamplingFeatureExternalIdentifiers'
Fixed in today's commit.
When generating a Yoda file from the Excel Macros, the field Dataset needs to be adjusted. @horsburgh suggested that we change the fields names to be respectively Dataset.