Skip to content

Commit

Permalink
Allow author_orcid or author_orcids column in omaps for backwards com…
Browse files Browse the repository at this point in the history
…patibility
  • Loading branch information
bherr2 committed May 31, 2024
1 parent 408256f commit 84e4950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/normalization/normalize-omap.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function normalizeExperimentData(context, metadata, data) {
'protocol_doi',
split(referenceData.protocol_doi)?.map((text) => normalizeDoi(text))
)
.append('author_orcid', split(referenceData.author_orcid))
.append('author_orcid', split(referenceData.author_orcids || referenceData.author_orcid))
.append('has_cycle', [...new Set(cycle_ids)])
.append('sample_organ', referenceData.organ_uberon)
.build();
Expand Down

0 comments on commit 84e4950

Please sign in to comment.