Hi Troels, Instead of doing this here, just pass these in as arguments to the function. You shouldn't be touching the relax data pipe in the lib package. Cheers, Edward On 8 December 2014 at 18:21, <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet Date: Mon Dec 8 18:21:58 2014 New Revision: 27027 URL: http://svn.gna.org/viewcvs/relax?rev=27027&view=rev Log: Change to backend of getting data from cdp, after storage of data has changed. Task #7873 (https://gna.org/task/index.php?7873): Write wrapper function to nmrglue, to read .ft2 files and process them. Homepage: http://www.nmrglue.com/ Link to nmrglue discussion: https://groups.google.com/forum/#!forum/nmrglue-discuss The code is develop at Github: https://github.com/jjhelmus/nmrglue/ Google code: https://code.google.com/p/nmrglue/ Documentation: http://nmrglue.readthedocs.org/en/latest/index.html Modified: branches/nmrglue/lib/software/nmrglue.py Modified: branches/nmrglue/lib/software/nmrglue.py URL: http://svn.gna.org/viewcvs/relax/branches/nmrglue/lib/software/nmrglue.py?rev=27027&r1=27026&r2=27027&view=diff ============================================================================== --- branches/nmrglue/lib/software/nmrglue.py (original) +++ branches/nmrglue/lib/software/nmrglue.py Mon Dec 8 18:21:58 2014 @@ -56,9 +56,9 @@ """ # Extract the data. - dic = cdp.nmrglue_dic[nmrglue_id] - udic = cdp.nmrglue_udic[nmrglue_id] - data = cdp.nmrglue_data[nmrglue_id] + dic = cdp.nmrglue[nmrglue_id].dic + udic = cdp.nmrglue[nmrglue_id].udic + data = cdp.nmrglue[nmrglue_id].data # Setup plot parameters # contour map (colors to use for contours) _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@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-commits