Changeset 1337:7f54a8c4437c in orange-bioinformatics


Ignore:
Timestamp:
02/28/11 15:12:43 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
66d7392d3134168014707f51fd33fd64b60ea4cf
Message:
  • check if OASA library is installed locally in bkchem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • widgets/OWMoleculeVisualizer.py

    r1318 r1337  
    4949 
    5050oasaLocal = True 
     51 
     52#  try import from bkchem  
    5153try: 
    52     import oasa 
     54    from bkchem import oasa 
    5355except ImportError: 
    54     oasaLocal = False 
     56    #  try stanalone import  
     57    try: 
     58        import oasa 
     59    except ImportError: 
     60        oasaLocal = False 
    5561 
    5662if oasaLocal and pybel: 
Note: See TracChangeset for help on using the changeset viewer.