mailRe: Running scripts inside relax


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d'Auvergne on August 26, 2013 - 16:25:
Hi Troels,

You should find the answer you are after in the following link:

http://www.nmr-relax.com/manual/Scripting.html

There is also the 'script' user function which you might find useful,
but this is not how relax scripts are made to be run.  This is mainly
so you can run a script in the GUI, especially the Mac OS X
application where command line arguments are not possible.

Regards,

Edward



On 26 August 2013 15:56, Troels Emtekær Linnet <tlinnet@xxxxxxxxx> wrote:
What is the correct way to run script commands ?

If I start relax, and I want to run a script with basic setup and then
spin commands.

Would the correct way be:
execfile('./relax_ini.py')
execfile('./spectrometer_data_processed/relax_spins.py')

Or is there a better way for relax?


Troels Emtekær Linnet

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users



Related Messages


Powered by MHonArc, Updated Mon Aug 26 17:00:13 2013