Skip to content
Snippets Groups Projects
Unverified Commit bc36855d authored by Xavier Robin's avatar Xavier Robin
Browse files

feat: SCHWED-5913 warn if $OST_COMPOUNDS_CHEMLIB is invalid

parent 7995103e
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,9 @@ def _SetupCompoundsLib():
try:
_TrySetCompoundsLib(compound_lib_path)
except ValueError:
if compound_lib_path:
LogWarning("Could not load $OST_COMPOUNDS_CHEMLIB as a compound library"
": '%s'. Falling back to default." % ( compound_lib_path))
pass
else:
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment