PathwayCommons / app-ui

Web UI for accessing Pathway Commons data
http://apps.pathwaycommons.org
MIT License
2 stars 15 forks source link

More generic handling of PublicationXref #1441

Open jvwong opened 10 months ago

jvwong commented 10 months ago

It is not safe to assume that a PublicationXref originates from PubMed, as we have done. Article references from elsewhere would break the existing logic:

https://github.com/PathwayCommons/app-ui/blob/b28e1e650538d5f7703c6279532fa2e30c965596/src/client/features/interactions/interactions-edge-tooltip.js#L73-L79

In this case, it also makes sense to utilize available information about an article, so that the system need not make additional calls or support an external web service to retrieve it (e.g. crossref).

Related to: https://github.com/PathwayCommons/factoid/issues/1218

jvwong commented 9 months ago

At this point, references to an article are through PubMed and is baked into EXTENDED_BINARY_SIF. So there will need to be some design changes to the source x-SIF data....