This issue is motivated by #2702
Sometimes a KP returns an edge to ARAX expand that has an edge attribute with attribute_source: null, like this:
{
"attribute_source": null,
"attribute_type_id": "biolink:Attribute",
"attributes": null,
"description": null,
"original_attribute_name": "hetio_source",
"value": [
"DrugBank (enzyme)"
],
"value_type_id": null,
"value_url": null
}
In that case, ARAX should just put, in place of null, in the edge attribute's attribute_source slot, the infores for the KP (e.g., infores:automat-hetionet or whatever).
Furthermore, ARAX-Overlay's NGD module (compute_ngd.py) adds a bunch of edge attributes, and these should have their attribute_source set to infores:arax (per discussion on Slack).
This issue is motivated by #2702
Sometimes a KP returns an edge to ARAX expand that has an edge attribute with
attribute_source: null, like this:In that case, ARAX should just put, in place of
null, in the edge attribute'sattribute_sourceslot, the infores for the KP (e.g.,infores:automat-hetionetor whatever).Furthermore, ARAX-Overlay's NGD module (
compute_ngd.py) adds a bunch of edge attributes, and these should have theirattribute_sourceset toinfores:arax(per discussion on Slack).