Skip to content

Commit

Permalink
add displayName format to diseaseOntology
Browse files Browse the repository at this point in the history
  • Loading branch information
sshugsc committed Jun 17, 2024
1 parent 6ccd55b commit a81bc94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/diseaseOntology/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ const uploadFile = async ({
alias: false,
deprecated,
description,
displayName: `${name} [${sourceId.toUpperCase()}]`,
name,
source,
sourceId,
Expand Down Expand Up @@ -286,6 +287,7 @@ const uploadFile = async ({
for (const alias of aliases) {
const content = {
alias: true,
displayName: `${alias} [${record.sourceId.toUpperCase()}]`,
name: alias,
source,
sourceId: record.sourceId,
Expand Down Expand Up @@ -331,6 +333,7 @@ const uploadFile = async ({
for (const alternateId of hasDeprecated) {
const content = {
deprecated: true,
displayName: `${record.name} [${alternateId.toUpperCase()}]`,
name: record.name,
source,
sourceId: alternateId,
Expand Down

0 comments on commit a81bc94

Please sign in to comment.