mailRe: [bug #21695] Full test suite


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

Header


Content

Posted by Edward d'Auvergne on February 20, 2014 - 10:50:
Hi,

Cheers, these should be easy to fix.  From the errors, it can be seen
that the numbers are very similar.  The difference is probably due to
lower precision on this Windows machine.  As Troels hinted, the
difference between 32-bit and 64-bit might be the cause.  It would be
good if you could copy and paste the output of the following command
as a comment for the bug report (http://gna.org/bugs/?21695):

$ relax -i

This can also be accessed via the "Tools->System information" menu
entry in the GUI.  Anyway, as the differences are tiny this can be
safely ignored.  The system tests will be changed to decrease the
precision and allow these 3 tests to pass.

Regards,

Edward


On 20 February 2014 10:40, Troels Emtekær Linnet <tlinnet@xxxxxxxxxxxxx> 
wrote:
Dear Mengjun.

Thank you for the bug report.

I would not worry "to much" about these errors.

These errors reflects system tests, which recently have been added for
the dispersion analysis module.

-----
[tlinnet@tomat ~/Downloads]$ grep -B 3 'AssertionError:' full.txt

Traceback (most recent call last):
  File "C:\Program
Files\relax-3.1.5\test_suite\system_tests\relax_disp.py", line 1602,
in test_korzhnev_2005_15n_dq_data
    self.assertAlmostEqual(spin.r2[r20_key2], 11.7135951595536, 3)
AssertionError: 11.712311111501457 != 11.7135951595536 within 3 places
--
Traceback (most recent call last):
  File "C:\Program
Files\relax-3.1.5\test_suite\system_tests\relax_disp.py", line 1742,
in test_korzhnev_2005_15n_sq_data
    self.assertAlmostEqual(spin.r2[r20_key1], 8.334232330326190, 4)
AssertionError: 8.3351005364860793 != 8.33423233032619 within 4 places
--
Traceback (most recent call last):
  File "C:\Program
Files\relax-3.1.5\test_suite\system_tests\relax_disp.py", line 1818,
in test_korzhnev_2005_15n_zq_data
    self.assertAlmostEqual(spin.dwH, 0.0881272284455416, 3)
AssertionError: 0.088930126058307427 != 0.0881272284455416 within 3 places
----------

I have to ask which version of python you have installed?
Is it python 64 or 32 bit?

The compiled version for windows, was done for 32 bit.
http://www.nmr-relax.com/download.html#MS_Windows

I had similar problems when I tried 64 bit versions of python.
See:

http://wiki.nmr-relax.com/Installation_windows_Python_x86-64_Visual_Studio_Express_Professional
https://gna.org/bugs/?20821

If you do not want to remove all your python installations, and
install 32 bit, I recommend you to follow this guide:
http://wiki.nmr-relax.com/Installation_windows_Python_x86-32_Visual_Studio_Express_for_Windows_Desktop

Best
Troels



2014-02-19 23:58 GMT+01:00 anonymous <NO-REPLY.INVALID-ADDRESS@xxxxxxx>:
URL:
  <http://gna.org/bugs/?21695>

                 Summary: Full test suite
                 Project: relax
            Submitted by: None
            Submitted on: Wed 19 Feb 2014 10:58:22 PM UTC
                Category: Test suite
Specific analysis category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
             Assigned to: None
         Originator Name:
        Originator Email: mengjun.xue@xxxxxxxxxxxxxxxxxxxx
             Open/Closed: Open
                 Release: 3.1.5
         Discussion Lock: Any
        Operating System: 64-bit MS Windows

    _______________________________________________________

Details:

Hi Edward,

I have tried to install Relax-3.1.5 under windows system, when I run full 
test
suite, following information come up:

System/functional tests
................................................................. [ Failed 
]
Unit tests
..................................................................................
[ OK ]
GUI tests
...................................................................................
[ OK ]
Synopsis
................................................................................
[ Failed ].

Please find attached file in detail.

Thank you so much.

Regards,

Mengjun



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 19 Feb 2014 10:58:22 PM UTC  Name: full test suite.txt  Size: 
301kB
 By: None

<http://gna.org/bugs/download.php?file_id=20123>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21695>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
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

_______________________________________________
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 Thu Feb 20 23:40:12 2014