Skip to content

Commit

Permalink
fix: biolink prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Apr 12, 2024
1 parent ded747c commit 46e8298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graph/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ export default class BTEGraph {
this.edges[recordHash].addAdditionalAttributes(item, record.mappedResponse[item]);
});
if (record.knowledge_level) {
this.edges[recordHash].addAdditionalAttributes('knowledge_level', record.knowledge_level);
this.edges[recordHash].addAdditionalAttributes('biolink:knowledge_level', record.knowledge_level);
}
if (record.agent_type) {
this.edges[recordHash].addAdditionalAttributes('agent_type', record.agent_type);
this.edges[recordHash].addAdditionalAttributes('biolink:agent_type', record.agent_type);
}
this.edges[recordHash].addSource(record.provenanceChain);
Object.entries(record.qualifiers).forEach(([qualifierType, qualifier]) => {
Expand Down

0 comments on commit 46e8298

Please sign in to comment.