Author: bugman
Date: Wed Sep 17 17:11:46 2014
New Revision: 25882
URL: http://svn.gna.org/viewcvs/relax?rev=25882&view=rev
Log:
Updated the Frame_order.test_count_sobol_points system test.
The call to the frame_order.num_int_pts user function was changed to
frame_order.sobol_setup.
Modified:
branches/frame_order_cleanup/test_suite/system_tests/frame_order.py
Modified: branches/frame_order_cleanup/test_suite/system_tests/frame_order.py
URL:
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/test_suite/system_tests/frame_order.py?rev=25882&r1=25881&r2=25882&view=diff
==============================================================================
--- branches/frame_order_cleanup/test_suite/system_tests/frame_order.py
(original)
+++ branches/frame_order_cleanup/test_suite/system_tests/frame_order.py Wed Sep
17 17:11:46 2014
@@ -943,7 +943,7 @@
def test_count_sobol_points(self):
- """Test the ability of the frame_order.num_int_pts user function to be
able to count the number of Sobol' points used for the current parameter
values."""
+ """Test the ability of the frame_order.sobol_setup user function to be
able to count the number of Sobol' points used for the current parameter
values."""
# Reset.
self.interpreter.reset()
@@ -953,10 +953,10 @@
self.interpreter.state.load(data_path+sep+'cam_pseudo_ellipse')
# Set the number of integration points, and see if they can be counted.
- self.interpreter.frame_order.num_int_pts(2000)
+ self.interpreter.frame_order.sobol_setup(20)
# Check the count.
- self.assertEqual(cdp.used_sobol_points, 72)
+ self.assertEqual(cdp.used_sobol_points, 20)
def test_count_sobol_points2(self):
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
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