Author: bugman Date: Thu Oct 31 09:26:25 2013 New Revision: 21351 URL: http://svn.gna.org/viewcvs/relax?rev=21351&view=rev Log: Merged revisions 21350 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk ........ r21350 | bugman | 2013-10-31 09:26:00 +0100 (Thu, 31 Oct 2013) | 5 lines The spectrometer.frequency user function will now added the experiment ID to the list. This is currently the cdp.spectrum_id list. ........ Modified: branches/relax_disp/ (props changed) branches/relax_disp/pipe_control/spectrometer.py Propchange: branches/relax_disp/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Thu Oct 31 09:26:25 2013 @@ -1,1 +1,1 @@ -/trunk:1-21348 +/trunk:1-21350 Modified: branches/relax_disp/pipe_control/spectrometer.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/pipe_control/spectrometer.py?rev=21351&r1=21350&r2=21351&view=diff ============================================================================== --- branches/relax_disp/pipe_control/spectrometer.py (original) +++ branches/relax_disp/pipe_control/spectrometer.py Thu Oct 31 09:26:25 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'):