Hi Troels, I would recommend naming this as simply extern/nmrglue/nmrglue and saying that version 0.4 is expected. This makes it easier to support newer nmrglue versions in the future. I have to look at nmrglue and see if they use a standard __version__ variable or version.py file. We could even present a RelaxWarning if the incorrect nmrglue version is encountered. Regards, Edward On 27 November 2014 at 12:50, <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet Date: Thu Nov 27 12:50:03 2014 New Revision: 26776 URL: http://svn.gna.org/viewcvs/relax?rev=26776&view=rev Log: Prepare __init__.py file to import extern/nmrglue/nmrglue_0_4 (version 0.4 of nmrglue), as standard nmrglue function. Task #7873 (https://gna.org/task/index.php?7873): Write wrapper function to nmrglue, to read .ft2 files and process them. Modified: branches/nmrglue/extern/__init__.py Modified: branches/nmrglue/extern/__init__.py URL: http://svn.gna.org/viewcvs/relax/branches/nmrglue/extern/__init__.py?rev=26776&r1=26775&r2=26776&view=diff ============================================================================== --- branches/nmrglue/extern/__init__.py (original) +++ branches/nmrglue/extern/__init__.py Thu Nov 27 12:50:03 2014 @@ -28,3 +28,6 @@ 'numpy_future', 'sobol' ] + +# Import version 0.4 as standard version of nmrglue. +from extern.nmrglue.nmrglue_0_4 import nmrglue as nmrglue _______________________________________________ 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