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