Class for testing the structural objects.
|
|
|
|
|
test_add_secondary_structure(self)
Check the operation of the structure.add_helix and
structure.add_sheet user functions. |
source code
|
|
|
|
|
test_align_CaM_BLOSUM62(self)
Test the alignment of CaM molecules from different species using the
BLOSUM62 substitution matrix. |
source code
|
|
|
|
|
test_align_molecules2(self)
Test of the structure.superimpose user function, fitting to the mean
structure. |
source code
|
|
|
test_align_molecules_end_truncation(self)
Test of the structure.superimpose user function, fitting to the mean
structure. |
source code
|
|
|
test_alt_loc_missing(self)
Test that a RelaxError occurs when the alternate location indicator
is present but not specified. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test_bug_20470_alternate_location_indicator(self)
Catch bug #20470, the alternate location indicator
problem. |
source code
|
|
|
test_bug_21187_corrupted_pdb(self)
Catch bug #21187, the corrupted PDB with all proton atoms
numbers set to zero. |
source code
|
|
|
|
|
test_bug_21814_pdb_no_80_space_padding(self)
Catch bug #21814, the PDB reading failure when not padded
to 80 spaces. |
source code
|
|
|
test_bug_22041_atom_numbering(self)
Catch bug #22041, the atom serial number not being
sequential from 1 onwards. |
source code
|
|
|
test_bug_22069_structure_delete_helix_attribute(self)
Catch bug #22069, the failure of the structure.delete
user function with helix attribute errors. |
source code
|
|
|
test_bug_22070_structure_superimpose_after_deletion(self)
Catch bug #22070, the failure of the
structure.superimpose user function after deleting atoms with
structure.delete. |
source code
|
|
|
test_bug_22860_CoM_after_deletion(self)
Catch bug #22860, the failure of the structure.com user
function after calling structure.delete. |
source code
|
|
|
test_bug_22861_PDB_writing_chainID_fail(self)
Catch bug #22861, the chain IDs in the
structure.write_pdb user function PDB files are incorrect after
calling structure.delete. |
source code
|
|
|
test_bug_23293_missing_hetatm(self)
Catch bug #23293, the PDB HETATM loading error whereby
the last HETATM record is sometimes not read from the PDB file. |
source code
|
|
|
test_bug_23294_multi_mol_automerge(self)
Catch bug #23294, the automatic merging of PDB molecules
results in an IndexError. |
source code
|
|
|
test_bug_23295_ss_metadata_merge(self)
Catch bug #23295, the PDB secondary structure HELIX and
SHEET records not updated when merging molecules. |
source code
|
|
|
|
|
test_collapse_ensemble(self)
Test the collapse_ensemble() method of the internal structural
object. |
source code
|
|
|
test_create_diff_tensor_pdb(self)
Test the deletion of non-existent structural data. |
source code
|
|
|
test_create_diff_tensor_pdb2(self)
Test the creation of the diffusion tensor PDB representation, after
deleting structural data. |
source code
|
|
|
test_create_diff_tensor_pdb_ellipsoid(self)
Check that the ellipsoid diffusion tensor optimisation functions
correctly. |
source code
|
|
|
test_create_diff_tensor_pdb_oblate(self)
Check the 3D coordinates of the PDB representation of the optimised
oblate diffusion tensor. |
source code
|
|
|
test_create_diff_tensor_pdb_prolate(self)
Check the 3D coordinates of the PDB representation of the optimised
prolate diffusion tensor. |
source code
|
|
|
test_create_diff_tensor_pdb_sphere(self)
Check that the sphere diffusion tensor optimisation functions
correctly. |
source code
|
|
|
|
|
test_delete_empty(self)
Test the deletion of non-existent structural data. |
source code
|
|
|
test_delete_model(self)
Test the deletion of a single structural model. |
source code
|
|
|
test_delete_multi_pipe(self)
Test the deletion of structural data in only one pipe. |
source code
|
|
|
test_displacement(self)
Test of the structure.displacement user function. |
source code
|
|
|
|
|
|
|
|
|
test_get_model(self)
Test the get_model() method of the internal structural object. |
source code
|
|
|
test_load_internal_results(self)
Load the PDB file using the information in a results file (using the
internal structural object). |
source code
|
|
|
test_load_internal_results2(self)
Load the PDB file using the information in a results file (using the
internal structural object). |
source code
|
|
|
test_load_spins_mol_cat(self)
Test the loading of spins from different molecules into one molecule
container. |
source code
|
|
|
test_load_spins_multi_mol(self)
Test the structure.load_spins user function for loading the same
spins from multiple molecules. |
source code
|
|
|
|
|
|
|
|
|
test_metadata_xml(self)
Test the storage and loading of metadata into an XML state file. |
source code
|
|
|
test_multi_model_and_multi_molecule(self)
Test the loading and writing of a multi-model and multi-molecule PDB
file. |
source code
|
|
|
test_pca(self)
Test the principle component analysis of the structure.pca user
function. |
source code
|
|
|
test_pca_observers(self)
Test the principle component analysis of the structure.pca user
function while using observer molecules. |
source code
|
|
|
test_pdb_combined_secondary_structure(self)
Test the handling of secondary structure metadata when combining
multiple PDB structures. |
source code
|
|
|
test_read_gaussian_strychnine(self)
Load the structure from the
'strychnine_opt_cdcl3_b3lyp_gaussian.log.bz2' compressed Gaussian log
file. |
source code
|
|
|
test_read_merge(self)
Test the merging of two molecules into one. |
source code
|
|
|
test_read_merge_simultaneous(self)
Test the simultaneous merging of two molecules into one. |
source code
|
|
|
test_read_not_pdb(self)
Test the reading of a file by structure.read_pdb that is not a PDB. |
source code
|
|
|
test_read_pdb_1UBQ(self)
Test the reading of the complete 1UBQ PDB file. |
source code
|
|
|
test_read_pdb_complex_internal(self)
Test the packing of models and molecules using 'gromacs.pdb' and
'lactose_MCMM4_S1_*.pdb' (using the internal structural object PDB
reader). |
source code
|
|
|
test_read_pdb_internal1(self)
Load the '1F35_N_H_molmol.pdb' PDB file (using the internal
structural object PDB reader). |
source code
|
|
|
test_read_pdb_internal2(self)
Load the 'Ap4Aase_res1-12.pdb' PDB file (using the internal
structural object PDB reader). |
source code
|
|
|
test_read_pdb_internal3(self)
Load the 'gromacs.pdb' PDB file (using the internal structural object
PDB reader). |
source code
|
|
|
test_read_pdb_internal4(self)
Load the 'tylers_peptide_trunc.pdb' PDB file (using the internal
structural object PDB reader). |
source code
|
|
|
test_read_pdb_internal5(self)
Load the 'lactose_MCMM4_S1_1.pdb' PDB file (using the internal
structural object PDB reader). |
source code
|
|
|
test_read_pdb_internal6(self)
Load the 'lactose_MCMM4_S1_1.pdb' and 'lactose_MCMM4_S1_2.pdb' PDB
files as 2 separate structures (using the internal structural object
PDB reader). |
source code
|
|
|
test_read_pdb_internal7(self)
Load the 'lactose_MCMM4_S1_1.pdb' PDB file twice as 2 separate
structures (using the internal structural object PDB reader). |
source code
|
|
|
test_read_pdb_model_2_mol_internal(self)
Load the 2 models of the 'gromacs.pdb' PDB file as separate molecules
of the same model (using the internal structural object PDB reader). |
source code
|
|
|
test_read_pdb_mol_2_model_internal(self)
Load a few 'lactose_MCMM4_S1_*.pdb' PDB files as models (using the
internal structural object PDB reader). |
source code
|
|
|
test_read_write_pdb_1UBQ(self)
Test the reading and writing of the 1UBQ PDB file. |
source code
|
|
|
test_read_xyz_internal1(self)
Load the 'Indol_test.xyz' XYZ file (using the internal structural
object XYZ reader). |
source code
|
|
|
test_read_xyz_internal2(self)
Load the 'SSS-cluster4-new-test.xyz' XYZ file (using the internal
structural object XYZ reader). |
source code
|
|
|
test_read_xyz_strychnine(self)
Load the 'strychnine.xyz' XYZ file (using the internal structural
object XYZ reader). |
source code
|
|
|
test_rmsd(self)
Test the structure.rmsd user function. |
source code
|
|
|
|
|
test_rmsd_spins(self)
Test the structure.rmsd user function for per-atom RMSDs. |
source code
|
|
|
test_rmsd_ubi(self)
Test the structure.rmsd user function on the truncated ubiquitin
ensemble. |
source code
|
|
|
test_sequence_alignment_central_star_nw70_blosum62(self)
Test of the structure.sequence_alignment user function using the
'Central Star', 'NW70', and 'BLOSUM62' options. |
source code
|
|
|
test_sequence_alignment_residue_number(self)
Test of the structure.sequence_alignment user function using the
'residue number' MSA algorithm. |
source code
|
|
|
test_superimpose_fit_to_first(self)
Test of the structure.superimpose user function, fitting to the first
structure. |
source code
|
|
|
test_superimpose_fit_to_mean(self)
Test of the structure.superimpose user function, fitting to the mean
structure. |
source code
|
|
|
test_superimpose_fit_to_mean2(self)
Second test of the structure.superimpose user function, fitting to
the mean structure. |
source code
|
|
|
test_web_of_motion_12(self)
Check the operation of the structure.web_of_motion user function
using structural models 1 and 2 (of 3). |
source code
|
|
|
test_web_of_motion_12_molecules(self)
Check the operation of the structure.web_of_motion user function
using molecules 1 and 2 (of 3). |
source code
|
|
|
test_web_of_motion_13(self)
Check the operation of the structure.web_of_motion user function
using structural models 1 and 3 (of 3). |
source code
|
|
|
test_web_of_motion_13_molecules(self)
Check the operation of the structure.web_of_motion user function
using molecules 1 and 3 (of 3). |
source code
|
|
|
test_web_of_motion_all(self)
Check the operation of the structure.web_of_motion user function
using all structural models. |
source code
|
|
|
test_web_of_motion_all_molecules(self)
Check the operation of the structure.web_of_motion user function
using all molecules. |
source code
|
|
Inherited from base_classes.SystemTestCase :
__init__ ,
script_exec ,
tearDown
Inherited from unittest.case.TestCase :
__call__ ,
__eq__ ,
__hash__ ,
__ne__ ,
__repr__ ,
__str__ ,
addCleanup ,
addTypeEqualityFunc ,
assertAlmostEqual ,
assertAlmostEquals ,
assertDictContainsSubset ,
assertDictEqual ,
assertEqual ,
assertEquals ,
assertFalse ,
assertGreater ,
assertGreaterEqual ,
assertIn ,
assertIs ,
assertIsInstance ,
assertIsNone ,
assertIsNot ,
assertIsNotNone ,
assertItemsEqual ,
assertLess ,
assertLessEqual ,
assertListEqual ,
assertMultiLineEqual ,
assertNotAlmostEqual ,
assertNotAlmostEquals ,
assertNotEqual ,
assertNotEquals ,
assertNotIn ,
assertNotIsInstance ,
assertNotRegexpMatches ,
assertRaises ,
assertRaisesRegexp ,
assertRegexpMatches ,
assertSequenceEqual ,
assertSetEqual ,
assertTrue ,
assertTupleEqual ,
assert_ ,
countTestCases ,
debug ,
defaultTestResult ,
doCleanups ,
fail ,
failIf ,
failIfAlmostEqual ,
failIfEqual ,
failUnless ,
failUnlessAlmostEqual ,
failUnlessEqual ,
failUnlessRaises ,
id ,
run ,
shortDescription ,
skipTest
Inherited from unittest.case.TestCase (private):
_addSkip ,
_baseAssertEqual ,
_deprecate ,
_formatMessage ,
_getAssertEqualityFunc ,
_truncateMessage
|