Menu

Commit [r23330]  Maximize  Restore  History

Merged revisions 23327-23329 via svnmerge from

svn+ssh://tlinnet@.../svn/relax/trunk

........
r23327 | bugman | 2014-05-22 14:05:01 +0200 (Thu, 22 May 2014) | 17 lines

Added 7 unit tests demonstrating edge case 'no Rex' failures of the 'NS CPMG 2-site expanded' model.

This follows from the ideas in the post http://article.gmane.org/gmane.science.nmr.relax.devel/5858.

These tests cover all parameter value combinations which result in no exchange:

- dw = 0.0,
- pA = 1.0,
- kex = 0.0,
- dw = 0.0 and pA = 1.0,
- dw = 0.0 and kex = 0.0,
- pA = 1.0 and kex = 0.0,
- dw = 0.0, pA = 1.0, and kex = 0.0.

Such tests should be replicated for all dispersion models.
........
r23328 | bugman | 2014-05-22 14:30:58 +0200 (Thu, 22 May 2014) | 6 lines

Created the Structure.test_bug_22069_structure_delete_helix_attribute system test.

This is to catch bug #22069 (https://gna.org/bugs/index.php?22069), the failure of the
structure.delete user function with "AttributeError: Internal instance has no attribute 'helices'".
........
r23329 | bugman | 2014-05-22 14:37:09 +0200 (Thu, 22 May 2014) | 6 lines

Fix for bug #22069 by only deleting helix and sheet data with structure.delete when it exists.

This is bug #22069 (https://gna.org/bugs/index.php?22069), the failure of the structure.delete user
function with "AttributeError: Internal instance has no attribute 'helices'".
........

tlinnet 2014-05-22

changed /branches/disp_speed
changed /branches/disp_speed/lib/structure/internal/object.py
changed /branches/disp_speed/test_suite/system_tests/structure.py
changed /branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/__init__.py
copied /trunk/test_suite/unit_tests/_lib/_dispersion/test_ns_cpmg_2site_expanded.py -> /branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_ns_cpmg_2site_expanded.py
/branches/disp_speed/lib/structure/internal/object.py Diff Switch to side-by-side view
Loading...
/branches/disp_speed/test_suite/system_tests/structure.py Diff Switch to side-by-side view
Loading...
/branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/__init__.py Diff Switch to side-by-side view
Loading...
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.