Author: bugman Date: Thu Oct 31 09:26:00 2013 New Revision: 21350 URL: http://svn.gna.org/viewcvs/relax?rev=21350&view=rev Log: The spectrometer.frequency user function will now added the experiment ID to the list. This is currently the cdp.spectrum_id list. Modified: trunk/pipe_control/spectrometer.py Modified: trunk/pipe_control/spectrometer.py URL: http://svn.gna.org/viewcvs/relax/trunk/pipe_control/spectrometer.py?rev=21350&r1=21349&r2=21350&view=diff ============================================================================== --- trunk/pipe_control/spectrometer.py (original) +++ trunk/pipe_control/spectrometer.py Thu Oct 31 09:26:00 2013 @@ -31,6 +31,7 @@ from lib.physical_constants import g1H from lib.warnings import RelaxWarning from pipe_control import pipes +from pipe_control.spectrum import add_spectrum_id def check_frequency(id=None): @@ -228,6 +229,9 @@ # Test if the current data pipe exists. pipes.test() + + # Add the spectrum ID to the data store if needed. + add_spectrum_id(id) # Set up the data structures if missing. if not hasattr(cdp, 'spectrometer_frq'):