public static List <string> getGenes(string accession_version) { List <string> genes = GDDL.getGenes(accession_version); if (genes.Count < 1) { throw new Exception("No match found"); } return(genes); }