MD-Anderson-Bioinformatics / pathway-mapper

An interactive and collaborative graphical curation tool for cancer pathways
https://www.pathwaymapper.org/
GNU Affero General Public License v3.0
0 stars 0 forks source link

Load NDEx pathway from NGCHM UUIDs list #12

Closed marohrdanz closed 3 years ago

marohrdanz commented 3 years ago

This PR addresses the general request for the PathwayMapper plugin to open and automatically load a pathway, rather than opening blank. For NG-CHMs with a property 'ndexUUIDs' consisting of a comma-separated list of NDEx UUIDs, the first valid UUID is loaded automatically. All of the UUIDs are added to the main menu under 'Network' -> 'NDEx'. For UUIDs that are invalid or have too many nodes to display, the user is notified in the entry's tooltip. If there is no 'ndexUUIDs' property in the NGCHM, the PathwayMapper plugin opens to a blank pathway, and the 'NDEx' entry does not appear in the 'Network' dropdown.

screencapture