Fix problems of PyCore
Some problems with interoperation with Python are fixed in the PyCore module.
-
BornAgain.callScriptFunctionfunction is added to the PyCore module to call a function within a BornAgain Python-script. -
Embedded.BornAgainPyFunctionTesttest is added to test importing a BornAgain Python-script. - The produced Python scripts in
SampleToPythonmodule are fixed. - In
SampleViewmodule, a GUI crash is prevented if the no Python script is selected or the selected script is empty.
Furthermore, manual_winbuild.ps1 is update according to the latest changes.
The script-importing with the GUI was tested under Linux and Windows with different Python versions installed via the standard Python installer.