Changeset 1340:345de524a5b2 in orange-bioinformatics for widgets/OWGOEnrichmentAnalysis.py


Ignore:
Timestamp:
03/07/11 18:17:13 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
1a0d91688fed9c996b20db0f9c53c4265dbf5b4c
Message:

Fixed "View term on AmiGO website" action.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • widgets/OWGOEnrichmentAnalysis.py

    r1330 r1340  
    7070    def BrowserAction(self, term): 
    7171        import webbrowser 
     72        if isinstance(term, obiGO.Term): 
     73            term = term.id 
    7274        webbrowser.open("http://amigo.geneontology.org/cgi-bin/amigo/term-details.cgi?term="+term) 
    7375         
Note: See TracChangeset for help on using the changeset viewer.