mailRe: r26150 - /trunk/pipe_control/opendx.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Troels Emtekær Linnet on October 06, 2014 - 15:06:
I think I introduced this! :-)

best
Troels

2014-10-06 14:53 GMT+02:00 Edward d'Auvergne <edward@xxxxxxxxxxxxx>:

Hmmm, I wonder how long that's been broken for :S  I really should
have added a check for this in a system test all the way back in 2006!

Cheers,

Edward


On 5 October 2014 22:22,  <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet
Date: Sun Oct  5 22:22:38 2014
New Revision: 26150

URL: http://svn.gna.org/viewcvs/relax?rev=26150&view=rev
Log:
Fix for writing out point files, when only one point is used.

The code was testing for > 1 points to be present, before writing out
point files.

Bug #22753 (https://gna.org/bugs/index.php?22753): dx.map does not work
when only 1 point is used.

Modified:
    trunk/pipe_control/opendx.py

Modified: trunk/pipe_control/opendx.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/opendx.py?rev=26150&r1=26149&r2=26150&view=diff

==============================================================================
--- trunk/pipe_control/opendx.py        (original)
+++ trunk/pipe_control/opendx.py        Sun Oct  5 22:22:38 2014
@@ -182,7 +182,7 @@
         write_general(file_prefix=self.file_prefix, dir=self.dir,
inc=self.inc)

         # Create the OpenDX .general and data files for the given point.
-        if self.num_points > 1:
+        if self.num_points >= 1:
             write_point(file_prefix=self.point_file, dir=self.dir,
inc=self.inc, point=self.point, num_points=self.num_points,
bounds=self.bounds, N=self.n)




_______________________________________________
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

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
relax-devel@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-devel



Related Messages


Powered by MHonArc, Updated Mon Oct 06 15:20:10 2014