Skip to content
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

Feature/add additional terms #59

Merged
merged 8 commits into from
May 22, 2024
Merged

Conversation

samleeflang
Copy link
Contributor

@samleeflang samleeflang requested a review from southeo May 14, 2024 12:01
southeo
southeo previously approved these changes May 14, 2024
Copy link
Contributor

@southeo southeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word "verbatim" has ceased to feel real 💫
nice work tho

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
9.1% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@samleeflang samleeflang requested a review from southeo May 21, 2024 07:56
@samleeflang
Copy link
Contributor Author

Updated to the latest version of the openDS which have now been merged into the openDS repo

Copy link
Contributor

@southeo southeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥞

@@ -172,7 +172,7 @@
"under water since 2005"
]
},
"georeference": {
"???:GeoReference": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not dwc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope at the moment GeoReference isn't a dwc class but these terms fall beneath Location
https://dwc.tdwg.org/list/#31-index-by-term-name

ds.withEntityRelationships(assembleDigitalSpecimenEntityRelationships(ds));
ds.withIdentifier(assembleIdentifiers(data));
ds.withCitation(assembleSpecimenCitations(data, dwc));
ds.withEntityRelationship(assembleDigitalSpecimenEntityRelationships(ds));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change this to singletons? citations, identifiers, and relations are all arrays, so it makes sense for them to be plural imo.

Copy link
Contributor Author

@samleeflang samleeflang May 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I know but then we can't use the dwc terms. What we could do is create our own ods:Ocurrences which then contain dwc:Occurrence. ABCD(EFG) uses these kind of structures, but they always felt a bit unnecessary as they add this additional level in between. Might be better though, as the dwc:Occurrence isn't an array. I will create a task for this as it impacts the datamodel.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samleeflang samleeflang merged commit 0356a2f into main May 22, 2024
1 of 2 checks passed
@samleeflang samleeflang deleted the feature/add-additional-terms branch May 22, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants