If I run: relax_disp relax_1_ini.py
relax runs through the script and exit. Is there a way to stop after reading? Best Troels Emtekær Linnet 2013/8/26 Edward d'Auvergne <[email protected]>: > 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 <[email protected]> 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 >> [email protected] >> >> 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 _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-users mailing list [email protected] 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

