Hi Edward,
thank you for the exhaustive answer.
I have saved the script as a filename.py file in the
/relax/Contents/Resources/user_functions directory and tried to run in from
within relax using the menu user functions (n-z) - script
However, it does not appear to do anything.
Any hint?
Stefano
Hi Stefano,
When running relax, you should avoid putting any files in the relax
source code directories. These should be kept separate at all times -
otherwise the result could be severe problems that are very difficult
to understand. To see the output of the script when running in GUI
mode,
Or open the relax prompt
Ctrl+p
And write:
script(script.py)
OUT COME -
script = 'script.py'
# Python module imports.
from numpy import float64, zeros
# relax module
Hi Edward,
The two numbers should be printed at the bottom. If you see errors,
then there is likely to be word wrapping problems - one line has been
split into two in the email text.
it worked!
Thanks!!!
Stefano
___
relax
Thanks Troels, this also works!
Stefano
On Mar 18, 2014, at 5:22 PM, Troels Emtekær Linnet wrote:
Or open the relax prompt
Ctrl+p
And write:
script(script.py)
OUT COME -
script = 'script.py'
5 matches
Mail list logo