Common

NetExplorer.views.helpers.common.condition_sort(x)
Sort conditions by
  • Single-vs-Interaction,

  • Name.

  • Number (if any in name)

Returns tuple (int, int, string)

NetExplorer.views.helpers.common.disambiguate_gene(gene_name, dataset)
NetExplorer.views.helpers.common.get_shortest_paths(startnodes, endnodes, plen)

This function gets all the possible shortest paths between the specified nodes. Returns a json string with all the nodes and edges, the length of the paths and the total number of paths

NetExplorer.views.helpers.common.symbol_is_empty(symbol)

Checks if the input symbol from the forms is empty or not