Changeset 1832:2c6d506ce3f2 in orange-bioinformatics for server_update/updateGO.py


Ignore:
Timestamp:
07/03/13 13:14:26 (10 months ago)
Author:
Flashpoint <vid.flashpoint@…>
Branch:
default
Message:

Added the short name tags in updateGO.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server_update/updateGO.py

    r1831 r1832  
    5757    if org in exclude or org not in commonOrgs: 
    5858        continue 
    59      
     59 
    6060    if u.IsUpdatable(obiGO.Update.UpdateAnnotation, (org,)): 
     61        print "JA" 
    6162        u.UpdateAnnotation(org) 
    6263        filename = os.path.join(tmpDir, "gene_association." + org + ".tar.gz") 
     
    7980        print "Uploading", "gene_association." + org + ".tar.gz" 
    8081        sf_server.upload("GO", "gene_association." + org + ".tar.gz", filename, title = "GO Annotations for " + orgName, 
    81                            tags=["gene", "annotation", "ontology", "GO", orgName + obiTaxonomy.shortname(org), "#uncompressed:%i" % uncompressedSize(filename), 
    82                                  "#organism:"+orgName, "#version:%i" % obiGO.Annotations.version] + (["essential"] if org in essentialOrgs else [])) 
     82                           tags=["gene", "annotation", "ontology", "GO", orgName, "#uncompressed:%i" % uncompressedSize(filename), 
     83                                 "#organism:"+orgName, "#version:%i" % obiGO.Annotations.version] + (["essential"] if org in essentialOrgs else [])) #+ obiTaxonomy.shortname(org)) 
    8384        sf_server.unprotect("GO", "gene_association." + org + ".tar.gz") 
    8485         
Note: See TracChangeset for help on using the changeset viewer.