You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So we do something like as_dict(bmt.get_element(element_name)) and then turn that into JSON.
But there are some values of that dict that contain un-jsonable elements (LocalName, SlotDefinition). At the moment, I've just filtered out those element keys, but it would be pretty straightforward to clean that up and convert those entities into dictionaries as well.
We return a json representation of an element.
So we do something like
as_dict(bmt.get_element(element_name))
and then turn that into JSON.But there are some values of that dict that contain un-jsonable elements (LocalName, SlotDefinition). At the moment, I've just filtered out those element keys, but it would be pretty straightforward to clean that up and convert those entities into dictionaries as well.
Brought up to BMT here: biolink/biolink-model-toolkit#21
Depending on how that is resolved or not, we might take different approaches.
The text was updated successfully, but these errors were encountered: