Changes

Jump to navigation Jump to search
=== Procedure in GUI ===
* Start relax
* Then click: {{button|new analysis}} or {{key press|cmd|n}}
* Then click icon for {{button|R1 relaxation}} {{next}} {{button|Next}}
* Just accept name for the pipe
* Open the relax prompt: {{key press|cmd|p}}
* Paste in
<source lang="python">
import os; os.chdir(os.getenv('HOME') + os.sep + 'Desktop' + os.sep + 'Karin'); pwd()
</source>
* Then do
<source lang="python">
script(file='2_load_data.py')
</source>
* ( You can scroll through earlier commands with: {{key press|cmd|up}} )
* Close the prompt window
 
Now save the current state! This saved state can now be loaded just before an analysis, and contain all setup and data.
* {{menu|File|Save as (Shift+Ctrl+S)}} {{next}} Save as <code>before_analysis.bz2</code>
 
Now '''Quit relax''', and start relax again.<br>
Go to: {{menu|File|Open relax state (Ctrl+O)}} {{next}} Locate <code>before_analysis.bz2</code>
 
{{Execute}}
=== Procedure in terminal ===
relax 2_load_data.py -t log.txt
</source>
 
== See also ==
[[Category:Tutorials]]

Navigation menu