Commit d5bd1999 authored by Günter Windau's avatar Günter Windau

Fix S21Python.m to handle condition where pyversion returns a python...

Fix S21Python.m to handle condition where pyversion returns a python interpreter, but hasn't loaded it.
parent e1399fb1
......@@ -8,7 +8,11 @@ function S21python
BIOFYSICA_PY_SYS.path.append(PYPATH);
biofpy=py.eval('__import__(''biofpy'')',struct);
else
warning('biofysica toolbox needs python version >= 3, you have %s',v);
if loaded
warning('biofysica toolbox needs python version >= 3, you have %s',v);
else
warning('could not load your python %s interpreter ''%s''',v,e);
end
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment