While py4cytoscape can use get_collection_networks() to retrieve all of the network SUIDs in a collection, it can only return all network SUIDs by also calling get_collection_list(). Metascape would work easier if there were to be a convenience function to fetch all network SUIDs. Net-net: Update
Note that the current get_network_list() returns network names and is terribly slow for large networks. Metascape requires SUIDs, not network names, so I propose adding an optional parameter that determines what is returned.
Note that the “*, names=True” is a Pythonism that requires names= to be a named parameter, and therefore preserves the function signature for any caller already using the current function.
get_network_list(base_url, *, names=True) – CyREST “GET /v1/networks”
Note that the current get_network_list() returns network names and is terribly slow for large networks. Metascape requires SUIDs, not network names, so I propose adding an optional parameter that determines what is returned.
Note that the “*, names=True” is a Pythonism that requires names= to be a named parameter, and therefore preserves the function signature for any caller already using the current function.