bbopt / nomad

NOMAD - A blackbox optimization software
https://nomad-4-user-guide.readthedocs.io/
GNU Lesser General Public License v3.0
118 stars 24 forks source link

Python interface build/run fixes #11

Closed wlav closed 3 years ago

wlav commented 3 years ago

Building and running the PyNomad interface did not work for me, using 4.0.0 beta 2. This PR fixes a couple of issues:

In the python tests, I changed the exception printing to have a clear error message (needed for debugging the above lookup problem), removed some whitespace, and the unnecessary repacking/unpacking into lists of return values.

With these changes, the Python interface and its tests build and run for me with 4.0.0 beta 2.