URL: <http://gna.org/bugs/?24962> Summary: six System / functional tests faiiures against numpy 1.11.1 and scipy 0.18.0 Project: relax Submitted by: jwhowarth Submitted on: Thu 11 Aug 2016 02:26:07 PM UTC Category: Test suite Specific analysis category: None Priority: 5 - Normal Severity: 3 - Normal Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: 4.0.2 Discussion Lock: Any Operating System: Mac OS X _______________________________________________________ Details: On both Mac OS X 10.10 and 10.11, the relax 4.0.2 release suffers 6 regressions in the System / functional tests when built against python 2.7.12, numpy 1.11.1 and scipy 0.18.0 ERROR: test_cam_quad_int_double_rotor (test_suite.system_tests.frame_order.Frame_order) Test the double rotor frame order model of CaM. ERROR: test_cam_quad_int_double_rotor_large_angle (test_suite.system_tests.frame_order.Frame_order) Test the double rotor frame order model of CaM. ERROR: test_cam_quad_int_double_rotor_large_angle_pcs (test_suite.system_tests.frame_order.Frame_order) Test the double rotor frame order model of CaM (with only PCS data). ERROR: test_cam_quad_int_double_rotor_pcs (test_suite.system_tests.frame_order.Frame_order) Test the double rotor frame order model of CaM (with only PCS data). ERROR: test_cam_quad_int_iso_cone_torsionless (test_suite.system_tests.frame_order.Frame_order) Test the second isotropic cone, free rotor frame order model of CaM. ERROR: test_cam_quad_int_pseudo_ellipse_torsionless (test_suite.system_tests.frame_order.Frame_order) Test the second isotropic cone, free rotor frame order model of CaM. These all have the form... Traceback (most recent call last): File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/test_suite/system_tests/frame_order.py", line 1504, in test_cam_quad_int_pseudo_ellipse_torsionless self.interpreter.run(script_file=self.cam_path+'pseudo_ellipse_torsionless.py') File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/prompt/interpreter.py", line 279, in run return run_script(intro=self.__intro_string, local=locals(), script_file=script_file, show_script=self.__show_script, raise_relax_error=self.__raise_relax_error) File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/prompt/interpreter.py", line 585, in run_script return console.interact(intro, local, script_file, show_script=show_script, raise_relax_error=raise_relax_error) File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/prompt/interpreter.py", line 484, in interact_script exec_script(script_file, local) File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/prompt/interpreter.py", line 363, in exec_script runpy.run_module(module, globals) File "/sw/lib/python2.7/runpy.py", line 192, in run_module fname, loader, pkg_name) File "/sw/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/test_suite/system_tests/scripts/frame_order/cam/pseudo_ellipse_torsionless.py", line 43, in <module> Analysis(self._execute_uf) File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/test_suite/system_tests/scripts/frame_order/cam/base_script.py", line 106, in __init__ self.optimisation() File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/test_suite/system_tests/scripts/frame_order/cam/base_script.py", line 196, in optimisation self._execute_uf(uf_name='minimise.calculate') File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/prompt/interpreter.py", line 131, in _execute_uf uf(*args, **kargs) File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/prompt/uf_objects.py", line 225, in __call__ self._backend(*new_args, **uf_kargs) File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/pipe_control/minimise.py", line 139, in calc api.calculate(verbosity=verbosity, scaling_matrix=scaling_matrix) File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/specific_analyses/frame_order/api.py", line 147, in calculate chi2 = target_fn.func(param_vector) File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/target_functions/frame_order.py", line 1701, in func_pseudo_ellipse_torsionless_quad_int self.pcs_theta[align_index, j] = pcs_numeric_quad_int_pseudo_ellipse_torsionless(theta_x=cone_theta_x, theta_y=cone_theta_y, c=self.pcs_const[align_index, j], r_pivot_atom=r_pivot_atom, r_ln_pivot=self.r_ln_pivot[0], A=self.A_3D[align_index], R_eigen=self.R_eigen, RT_eigen=RT_eigen, Ri_prime=self.Ri_prime) File "/sw/src/fink.build/relax-py27-4.0.2-1/relax-4.0.2/lib/frame_order/pseudo_ellipse_torsionless.py", line 492, in pcs_numeric_quad_int_pseudo_ellipse_torsionless result = dblquad(pcs_pivot_motion_torsionless_quad_int, -pi, pi, lambda phi: 0.0, pseudo_ellipse, args=(r_pivot_atom, r_ln_pivot, A, R_eigen, RT_eigen, Ri_prime)) File "/sw/lib/python2.7/site-packages/scipy/integrate/quadpack.py", line 495, in dblquad return nquad(func, [lambda x: [gfun(x), hfun(x)], [a, b]], args=args) File "/sw/lib/python2.7/site-packages/scipy/integrate/quadpack.py", line 705, in nquad return _NQuad(func, ranges, opts, full_output).integrate(*args) File "/sw/lib/python2.7/site-packages/scipy/integrate/quadpack.py", line 760, in integrate **opt) File "/sw/lib/python2.7/site-packages/scipy/integrate/quadpack.py", line 315, in quad points) File "/sw/lib/python2.7/site-packages/scipy/integrate/quadpack.py", line 380, in _quad return _quadpack._qagse(func,a,b,args,full_output,epsabs,epsrel,limit) File "/sw/lib/python2.7/site-packages/scipy/integrate/quadpack.py", line 749, in integrate low, high = fn_range(*args) TypeError: <lambda>() takes exactly 1 argument (7 given) _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 11 Aug 2016 02:26:07 PM UTC Name: system_tests.log.bz2 Size: 26kB By: jwhowarth <http://gna.org/bugs/download.php?file_id=28265> _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?24962> _______________________________________________ Message sent via/by Gna! http://gna.org/