Class for testing the structural objects.
|
|
__init__(self,
methodName='runTest')
Skip scientific Python tests if not installed. |
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_20469_scientific_parser_xray_records(self)
Test the bug
#20469, the ScientificPython parser failure with X-ray records. |
source code
|
|
|
|
test_bug_20470_alternate_location_indicator(self)
Catch bug
#20470, the alternate location indicator problem. |
source code
|
|
|
|
test_delete_empty(self)
Test the deletion of non-existent structural data. |
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_load_spins_mol_cat(self)
Test the loading of spins from different molecules into one molecule
container. |
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_scientific_results(self)
Load the PDB file using the information in a results file (using the
Scientific python structural object). |
source code
|
|
|
|
test_metadata_xml(self)
Test the storage and loading of metadata into an XML state file. |
source code
|
|
|
|
test_read_merge(self)
Test the 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_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_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_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_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_scientific1(self)
Load the '1F35_N_H_molmol.pdb' PDB file (using the Scientific python
structural object PDB reader). |
source code
|
|
|
|
test_read_pdb_scientific2(self)
Load the 'Ap4Aase_res1-12.pdb' PDB file (using the Scientific python
structural object PDB reader). |
source code
|
|
|
|
test_read_pdb_scientific3(self)
Load the 'gromacs.pdb' PDB file (using the Scientific python
structural object PDB reader). |
source code
|
|
|
|
test_read_pdb_scientific4(self)
Load the 'tylers_peptide_trunc.pdb' PDB file (using the Scientific
python structural object PDB reader). |
source code
|
|
|
|
test_read_pdb_scientific5(self)
Load the 'lactose_MCMM4_S1_1.pdb' PDB file (using the Scientific
python structural object PDB reader). |
source code
|
|
|
|
test_read_pdb_scientific6(self)
Load the 'lactose_MCMM4_S1_1.pdb' and 'lactose_MCMM4_S1_2.pdb' PDB
files as 2 separate structures (using the Scientific python
structural object PDB reader). |
source code
|
|
|
|
test_read_pdb_scientific7(self)
Load the 'lactose_MCMM4_S1_1.pdb' PDB file twice as 2 separate
structures (using the Scientific python structural object PDB
reader). |
source code
|
|
|
|
test_read_pdb_mol_2_model_scientific(self)
Load a few 'lactose_MCMM4_S1_*.pdb' PDB files as models (using the
Scientific python structural object PDB reader). |
source code
|
|
|
|
test_read_pdb_model_2_mol_scientific(self)
Load the 2 models of the 'gromacs.pdb' PDB file as separate molecules
of the same model (using the Scientific python structural object PDB
reader). |
source code
|
|
|
|
test_read_pdb_complex_scientific(self)
Test the packing of models and molecules using 'gromacs.pdb' and
'lactose_MCMM4_S1_*.pdb' (using the Scientific python structural
object PDB reader). |
source code
|
|
|
|
test_read_pdb_1UBQ(self)
Test the reading of the complete 1UBQ PDB file. |
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_ubi(self)
Test the structure.rmsd user function on the truncated ubiquitin
ensemble. |
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_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_all(self)
Check the operation of the structure.web_of_motion user function
using all structural models. |
source code
|
|
|
Inherited from base_classes.SystemTestCase:
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
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|