mailr26150 - /trunk/pipe_control/opendx.py


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

Header


Content

Posted by tlinnet on October 05, 2014 - 22:22:
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)
 
 




Related Messages


Powered by MHonArc, Updated Mon Oct 06 02:40:02 2014