Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…form.js into semmed-sentences
  • Loading branch information
rjawesome committed Sep 27, 2024
2 parents ddef235 + 13c306d commit 0554c04
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 95 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/test_ws_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@ jobs:
id: branch-name
uses: tj-actions/[email protected]

- uses: actions/checkout@v3
- name: Checkout to specific branch
uses: actions/checkout@v3
id: specific-checkout
continue-on-error: true
with:
repository: biothings/biothings_explorer
ref: ${{ steps.branch-name.outputs.current_branch }}

- name: Checkout to main if above failed
if: steps.specific-checkout.outcome == 'failure'
uses: actions/checkout@v3
with:
repository: biothings/biothings_explorer
ref: main

- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
Expand Down
92 changes: 0 additions & 92 deletions __test__/biolink_transformers.test.ts

This file was deleted.

6 changes: 4 additions & 2 deletions src/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ export class Record {
sourceA.resource_id.localeCompare(sourceB.resource_id),
).map(source => _.omit(source, ["source_record_urls"])),
),
this.knowledge_level,
this.agent_type
].join("-");
}

Expand Down Expand Up @@ -497,9 +499,9 @@ export class Record {

get apiInforesCurie(): string {
if (this.association["x-translator"]) {
return this.association["x-translator"]["infores"] || undefined;
return this.association["x-translator"]["infores"] || "infores:error-not-provided";
}
return undefined;
return "infores:error-not-provided";
}

get metaEdgeSource(): string {
Expand Down

0 comments on commit 0554c04

Please sign in to comment.