Skip to content
Snippets Groups Projects
Commit b8b53b4e authored by valerio's avatar valerio
Browse files

Gfx module should only be loaded if Gfx is enabled in init_cl.py

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2000 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 31a7e41c
Branches
Tags
No related merge requests found
......@@ -4,12 +4,16 @@ if platform.machine()=='x86_64':
else:
sys.path.insert(0,os.getenv('DNG_ROOT')+'/lib/openstructure')
from ost import io, mol, seq, gfx, conop, geom
from ost import io, mol, seq, conop, geom
import ost
try:
from ost import img
except ImportError:
pass
try:
from ost import gfx
except ImportError:
pass
ost.SetPrefixPath(os.getenv('DNG_ROOT'))
def _InitRuleBasedBuilder():
compound_lib_path=os.path.join(ost.GetSharedDataPath(), 'compounds.chemlib')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment