Hi Troels,
Running this system test on a 64-bit Linux system (Mageia 4), I see the
message:
"""
Optimised parameter values:
r2a (SQ CPMG - 500.00000000 MHz) 5.100000000000000
r2a (SQ CPMG - 600.00000000 MHz) 5.200000000000000
r2a (SQ CPMG - 700.00000000 MHz) 5.300000000000001
r2b (SQ CPMG - 500.00000000 MHz) 10.100000000000000
r2b (SQ CPMG - 600.00000000 MHz) 10.199999999999999
r2b (SQ CPMG - 700.00000000 MHz) 10.300000000000001
r2a (SQ CPMG - 500.00000000 MHz) 6.100000000000000
r2a (SQ CPMG - 600.00000000 MHz) 6.200000000000000
r2a (SQ CPMG - 700.00000000 MHz) 6.300000000000000
r2b (SQ CPMG - 500.00000000 MHz) 11.099999999999998
r2b (SQ CPMG - 600.00000000 MHz) 11.199999999999999
r2b (SQ CPMG - 700.00000000 MHz) 11.300000000000001
r2a (SQ CPMG - 500.00000000 MHz) 7.100000000000000
r2a (SQ CPMG - 600.00000000 MHz) 7.199999999999999
r2a (SQ CPMG - 700.00000000 MHz) 7.300000000000000
r2b (SQ CPMG - 500.00000000 MHz) 12.100000000000000
r2b (SQ CPMG - 600.00000000 MHz) 12.199999999999999
r2b (SQ CPMG - 700.00000000 MHz) 12.300000000000001
r2a (SQ CPMG - 500.00000000 MHz) 8.100000000000000
r2a (SQ CPMG - 600.00000000 MHz) 8.199999999999999
r2a (SQ CPMG - 700.00000000 MHz) 8.300000000000001
r2b (SQ CPMG - 500.00000000 MHz) 13.100000000000001
r2b (SQ CPMG - 600.00000000 MHz) 13.199999999999999
r2b (SQ CPMG - 700.00000000 MHz) 13.300000000000001
dw 1.000000000000000
dw 2.000000000000000
dw 3.000000000000000
dw 4.000000000000000
pA 0.900000000000000
kex 1000.000000000000000
r2a
('NS CPMG 2-site star full', 'Ala', ':1@N', 'r2a', 'SQ CPMG -
600.00000000 MHz', 5.2, 5.2)
('NS CPMG 2-site star full', 'Ala', ':1@N', 'r2a', 'SQ CPMG -
500.00000000 MHz', 5.1, 5.1)
('NS CPMG 2-site star full', 'Ala', ':1@N', 'r2a', 'SQ CPMG -
700.00000000 MHz', 5.300000000000001, 5.3)
r2b
('NS CPMG 2-site star full', 'Ala', ':1@N', 'r2b', 'SQ CPMG -
600.00000000 MHz', 10.2, 10.2)
('NS CPMG 2-site star full', 'Ala', ':1@N', 'r2b', 'SQ CPMG -
500.00000000 MHz', 10.1, 10.1)
('NS CPMG 2-site star full', 'Ala', ':1@N', 'r2b', 'SQ CPMG -
700.00000000 MHz', 10.3, 10.3)
pA
('NS CPMG 2-site star full', 'Ala', ':1@N', 'pA', 0.90000000000000002, 0.9)
dw
('NS CPMG 2-site star full', 'Ala', ':1@N', 'dw', 1.0, 1.0)
kex
('NS CPMG 2-site star full', 'Ala', ':1@N', 'kex', 1000.0, 1000.0)
Traceback (most recent call last):
File "/data/relax/relax-trunk/test_suite/system_tests/relax_disp.py",
line 1017, in test_bug_22146_unpacking_r2a_r2b_cluster_NS_STAR
self.setup_bug_22146_unpacking_r2a_r2b_cluster(folder='ns_cpmg_2site_star_full',
model_analyse = MODEL_NS_CPMG_2SITE_STAR_FULL)
File "/data/relax/relax-trunk/test_suite/system_tests/relax_disp.py",
line 234, in setup_bug_22146_unpacking_r2a_r2b_cluster
self.assertAlmostEqual(cur_spin.chi2, 0.0)
AssertionError: 2.4659455670347743e-05 != 0.0 within 7 places
"""
I guess this is what you see too. On a 32-bit Linux VM (Mageia 4) I see:
"""
Traceback (most recent call last):
File "/data/relax/relax-trunk/test_suite/system_tests/relax_disp.py",
line 1017, in test_bug_22146_unpacking_r2a_r2b_cluster_NS_STAR
self.setup_bug_22146_unpacking_r2a_r2b_cluster(folder='ns_cpmg_2site_star_full',
model_analyse = MODEL_NS_CPMG_2SITE_STAR_FULL)
File "/data/relax/relax-trunk/test_suite/system_tests/relax_disp.py",
line 234, in setup_bug_22146_unpacking_r2a_r2b_cluster
self.assertAlmostEqual(cur_spin.chi2, 0.0)
AssertionError: 2.1641004744754054e-05 != 0.0 within 7 places
"""
The reason for this is due to truncation artifacts. The chi-squared
value might be decreased if the data in
test_suite/shared_data/dispersion/bug_22146_unpacking_r2a_r2b_cluster/ns_cpmg_2site_star_full/
is generated on a 64-bit computer and it is output to 15 or more
decimal places. But the chi-squared value is pretty close to zero, so
you could just decrease the accuracy of the chi2 check to make the
test pass. It is clear that despite a chi2 value of 2e-5 here, the
code is working correctly and the test should pass.
Regards,
Edward
On 9 June 2014 19:49, Troels Emtekær Linnet <tlinnet@xxxxxxxxxxxxx> wrote:
At home, I have python 32 bit.
At work, it is 64 bit.
Can that have something to do with it?
2014-06-09 19:32 GMT+02:00 Troels Emtekær Linnet <tlinnet@xxxxxxxxxxxxx>:
Hi Edward.
I am experiencing something weird.
At my mac, this passes:
Relax_disp.test_bug_22146_unpacking_r2a_r2b_cluster_NS_STAR
but not at my linux box.
How is it for you?
_______________________________________________
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