Menu

SVN archive Commit Log


Commit Date  
[r27449] by bugman

Created a special Destroy() method for the spin viewer window.

This is for greater control of the spin viewer window destruction. First the methods registered
with the observer objects are unregistered, then the children of the spin viewer window are
destroyed, and finally the main spin viewer window is destroyed. This change saves a lot of GUI
resources in the GUI tests (there is a large reduction in 'User Objects' and 'GDI Objects' used on
MS Windows systems, hence an equivalent resource reduction on other operating systems).

2015-02-03 09:07:09 Tree
[r27448] by bugman

Reverted r27325, the General.test_bug_23187_residue_delete_gui GUI test is no longer disabled.

The command was:
svn merge -r27325:r27324 .

The 'Bus Error' on Mac OS X due to this test is no longer an issue, as the spin viewer window is now
destroyed after each GUI test.

.....
r27325 | bugman | 2015-01-27 11:35:39 +0100 (Tue, 27 Jan 2015) | 6 lines
Changed paths:
M /trunk/test_suite/gui_tests/general.py

Disabled the General.test_bug_23187_residue_delete_gui GUI test.

This is essential as a wxPython bug in Mac OS X systems causes this test to trigger a 'Bus Error'
every time the GUI tests are run, killing relax.
.....

2015-02-03 08:46:40 Tree
[r27447] by bugman

Reverted r27243, the skipping of the GUI tests on wxPython 2.8.

The command used was:
svn merge -r27243:r27242 .

This was discussed at http://thread.gmane.org/gmane.science.nmr.relax.devel/7502/focus=7512.

.....
r27243 | bugman | 2015-01-20 15:13:19 +0100 (Tue, 20 Jan 2015) | 6 lines
Changed paths:
M /trunk/test_suite/test_suite_runner.py

The GUI tests are now skipped for wxPython version <= 2.8 due to bugs causing fatal segfaults.

This follows from http://thread.gmane.org/gmane.science.nmr.relax.devel/7502. These wxPython
versions are simply too buggy.
.....

2015-02-03 08:41:12 Tree
[r27446] by bugman

Reverted r27241, the wxPython 2.8 warning.

The command used was:
svn merge -r27241:r27240 .

This was discussed at http://thread.gmane.org/gmane.science.nmr.relax.devel/7502/focus=7512.

.....
r27241 | bugman | 2015-01-20 15:04:18 +0100 (Tue, 20 Jan 2015) | 6 lines
Changed paths:
M /trunk/dep_check.py

Added a RelaxWarning printout to the dep_check module if wxPython 2.8 or less is encountered.

This follows from http://thread.gmane.org/gmane.science.nmr.relax.devel/7502. The warning text is
simply written to STDERR as relax starts.
.....

2015-02-03 08:37:34 Tree
[r27445] by bugman

Large improvement for the GUI test tearDown() clean up method, fixing the tests on wxPython 2.8.

The user function window destruction has been shifted into a new clean_up_windows() method which is
executed via wx.CallAfter() to avoid racing conditions. In addition, the spin viewer window is
destroyed between tests.

The spin viewer window change allows the GUI tests to pass on wxPython 2.8 again. This also allows
the GUI tests to progress much further on Mac OS X systems before they crash again for some other
reason. This could simply be hiding a problem in the spin viewer window. However it is likely to
be a racing problem only triggered by the super fast speed of the GUI tests and a normal user would
never be able to operate the GUI on the millisecond timescale and hence may never see it.

2015-02-03 08:20:10 Tree
[r27444] by bugman

Big bug fix for the GUI tests on MS Windows systems.

On MS Windows systems, the GUI tests were unable to complete without crashing. This is because each
GUI element requires one 'User object', and MS Windows has a maximum limit of 10,000 of these
objects. The GUI tests were taking more than 10,000 and then Windows would say - relax, you die
now.

The solution is that after each GUI test, all user function windows are destroyed. The user
function page is a wx.Panel object, so this requires a Destroy() call. But the window is a Uf_page
instance which inherits from Wiz_page which inherits from wx.Dialog. Calling Destroy() on MS
Windows and Linux works fine, but is fatal on Mac OS X systems. So the solution is to call Close()
instead.

2015-02-02 22:34:27 Tree
[r27443] by bugman

Updates for many of the Diffusion_tensor system tests.

This is due to the changed directory names in test_suite/shared_data/diffusion_tensor/. The
ds.diff_dir variable has been introduced to point to the correct data directory.

2015-02-02 16:25:22 Tree
[r27442] by bugman

More fixes for the Structure.test_create_diff_tensor_pdb_oblate system test.

The initial Diso value is now set to the real final Diso, and the PDB file contents have been
updated for the fixed oblate spheroidal diffusion relaxation data.

2015-02-02 16:14:55 Tree
[r27441] by bugman

Fix for the oblate spheroid diffusion relaxation data.

The diffusion parameters are constrained as Dx <= Dy <= Dz.

2015-02-02 16:08:08 Tree
[r27440] by bugman

Copyright update.

2015-02-02 15:59:45 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.