Changeset 1602:d55a75faef7a in orange-bioinformatics


Ignore:
Timestamp:
03/21/12 17:28:41 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed obiKEGG conf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiKEGG2/conf.py

    r1601 r1602  
    2626 
    2727# Orange kegg files dir 
     28 
    2829env = dict(os.environ) 
    2930env["kegg_dir"] = kegg_dir 
     
    3940params = {} 
    4041 
    41  
    42 for section in parser.sections(): 
    43     for option in parser.options(section): 
    44         params[section + "." + option] = parser.get(section, option) 
     42_ALL_PARAMS = \ 
     43    ["cache.path", 
     44     "cache.store", 
     45     "cache.kegg_invalidate", 
     46     "service.transport" 
     47     ] 
     48for p in _ALL_PARAMS: 
     49    section, option = p.split(".") 
     50    params[p] = parser.get(section, option) 
     51     
Note: See TracChangeset for help on using the changeset viewer.