Package test_suite :: Package unit_tests :: Package _generic_fns :: Module test_mol_res_spin :: Class Test_mol_res_spin
[hide private]
[frames] | no frames]

Class Test_mol_res_spin

source code


Unit tests for the functions of the 'generic_fns.mol_res_spin' module.

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Set up some molecules, residues, and spins for testing.
source code
 
test_Selection_boolean_and(self)
Test the Selection object for boolean '&' mol-res-spin selections.
source code
 
test_Selection_boolean_or(self)
Test the Selection object for boolean '|' mol-res-spin selections.
source code
 
test_Selection_complex_boolean(self)
Test the Selection object for complex boolean mol-res-spin selections.
source code
 
test_Selection_contains_mol1(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the molecule 'RNA'.
source code
 
test_Selection_contains_mol2(self)
The Selection object "#Ap4Aase:Glu & #RNA@C8" does not contain the molecule 'RNA'.
source code
 
test_Selection_contains_mol3(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" does not contain the molecule 'XXX'.
source code
 
test_Selection_contains_mol4(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" does not contain the molecule None.
source code
 
test_Selection_contains_mol5(self)
The Selection object ":Glu" does contain the molecule None.
source code
 
test_Selection_contains_mol_re1(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the molecule 'R*'.
source code
 
test_Selection_contains_mol_re2(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the molecule '*R*'.
source code
 
test_Selection_contains_res1(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" does not contain the res 'Glu' (without the mol name).
source code
 
test_Selection_contains_res2(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the res 'Glu' of the mol 'Ap4Aase'.
source code
 
test_Selection_contains_res3(self)
The Selection object "#Ap4Aase:Glu & #RNA@C8" does not contain the res 'Glu'.
source code
 
test_Selection_contains_res4(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" does not contain the res 'Ala'.
source code
 
test_Selection_contains_res5(self)
The Selection object "#Ap4Aase:Glu | #RNA:14@C8" does not contain the res None.
source code
 
test_Selection_contains_res6(self)
The Selection object "#Ap4Aase" does contains the res None.
source code
 
test_Selection_contains_res7(self)
The Selection object "#Ap4Aase" does not contain the res None of the mol 'RNA'.
source code
 
test_Selection_contains_res_re1(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the res 'G*' of the mol 'Ap4Aase'.
source code
 
test_Selection_contains_res_re2(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the res '*G*' of the mol 'Ap4Aase'.
source code
 
test_Selection_contains_spin1(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" does not contain the spin 'C8' (without the mol name).
source code
 
test_Selection_contains_spin2(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the spin 'C8' of the mol 'RNA'.
source code
 
test_Selection_contains_spin3(self)
The Selection object "#Ap4Aase:Glu & #RNA@C8" does not contain the spin 'C8'.
source code
 
test_Selection_contains_spin4(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" does not contain the spin 'N3'.
source code
 
test_Selection_contains_spin5(self)
The Selection object "#Ap4Aase:Glu | #RNA:14@C8" does not contain the spin None.
source code
 
test_Selection_contains_spin6(self)
The Selection object "#Ap4Aase" does contains the spin None.
source code
 
test_Selection_contains_spin7(self)
The Selection object "#Ap4Aase" does not contain the spin None of the mol 'RNA'.
source code
 
test_Selection_contains_spin_re1(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the spin 'C*' of the mol 'RNA'.
source code
 
test_Selection_contains_spin_re2(self)
The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the spin '*C*' of the mol 'RNA'.
source code
 
test_Selection_full_spin_id(self)
Test the Selection object for the single spin identifier '#Ap4Aase:2&:Glu@63&@NH'.
source code
 
test_Selection_memory(self)
Test that the Selection object has no memory of previous selections.
source code
 
test_count_spins(self)
Test that the number of spins can be properly counted.
source code
 
test_count_no_spins(self)
Test that the number of spins (zero) can be properly counted.
source code
 
test_count_spins_no_pipe(self)
Test that the counting of the number of spins raises an error when no pipe exists.
source code
 
test_exists_mol_res_spin_data(self)
Test the function for determining if molecule-residue-spin data exists.
source code
 
test_exists_mol_res_spin_data_single_mol(self)
Determine if molecule-residue-spin data exists (with data for a single molecule).
source code
 
test_exists_mol_res_spin_data_single_res_name(self)
Determine if molecule-residue-spin data exists (when a single residue is named).
source code
 
test_exists_mol_res_spin_data_single_res_num(self)
Determine if molecule-residue-spin data exists (when a single residue is numbered).
source code
 
test_exists_mol_res_spin_data_single_spin_name(self)
Determine if molecule-residue-spin data exists (when a single spin is named).
source code
 
test_exists_mol_res_spin_data_single_spin_num(self)
Determine if molecule-residue-spin data exists (when a single spin is numbered).
source code
 
test_exists_mol_res_spin_data_no_data(self)
Determine if molecule-residue-spin data exists when no data exists.
source code
 
test_exists_mol_res_spin_data_no_pipe(self)
Determine if molecule-residue-spin data exists when no data pipe exists.
source code
 
test_generate_spin_id_data_array1(self)
First test of the spin ID generation function.
source code
 
test_generate_spin_id_data_array2(self)
Second test of the spin ID generation function.
source code
 
test_generate_spin_id_data_array3(self)
Third test of the spin ID generation function.
source code
 
test_generate_spin_id_data_array4(self)
Fourth test of the spin ID generation function.
source code
 
test_generate_spin_id_data_array5(self)
Fifth test of the spin ID generation function.
source code
 
test_generate_spin_id_data_array6(self)
Sixth test of the spin ID generation function.
source code
 
test_molecule_loop(self)
Test the proper operation of the molecule loop with molecule selection.
source code
 
test_molecule_loop_no_data(self)
Test the proper operation of the molecule loop when no data is present.
source code
 
test_molecule_loop_no_pipe(self)
Test the proper operation of the molecule loop when no data pipe is present.
source code
 
test_molecule_loop_no_selection(self)
Test the proper operation of the molecule loop when no selection is present.
source code
 
test_parse_token_single_element_num(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string '1'.
source code
 
test_parse_token_single_element_neg_num(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string '-4'.
source code
 
test_parse_token_single_element_name(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string 'G'.
source code
 
test_parse_token_single_element_wildcard_name(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string 'N*'.
source code
 
test_parse_token_single_element_range(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string '1-10'.
source code
 
test_parse_token_single_element_neg_range(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string '-10--1'.
source code
 
test_parse_token_multi_element_num(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string '-2, 1'.
source code
 
test_parse_token_multi_element_name(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string 'N,CA'.
source code
 
test_parse_token_multi_element_num_name(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string '76,Ala'.
source code
 
test_parse_token_multi_element_num_range(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string '1,3-5'.
source code
 
test_parse_token_multi_element_range_name(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string '3-5,NH'.
source code
 
test_parse_token_multi_element_range_num_name(self)
Test the generic_fns.mol_res_spin.parse_token() function on the string '3-6, 8, Gly'.
source code
 
test_residue_loop(self)
Test the proper operation of the residue loop with residue selection.
source code
 
test_residue_loop_no_data(self)
Test the proper operation of the residue loop when no data is present.
source code
 
test_residue_loop_no_pipe(self)
Test the proper operation of the residue loop when no data pipe is present.
source code
 
test_residue_loop_no_selection(self)
Test the proper operation of the residue loop when no selection is present.
source code
 
test_return_molecule(self)
Test the function for returning the desired molecule data container.
source code
 
test_return_molecule_pipe_fail(self)
Test the failure of the function for returning the desired molecule data container.
source code
 
test_return_residue(self)
Test the function for returning the desired residue data container.
source code
 
test_return_residue_pipe_fail(self)
Test the failure of the function for returning the desired residue data container.
source code
 
test_return_single_residue_info(self)
Test the function for returning the desired residue data container.
source code
 
test_return_single_residue_info_fail(self)
Test the failure of the function for returning the desired residue data container.
source code
 
test_return_spin(self)
Test the function for returning the desired spin data container.
source code
 
test_return_spin_pipe_fail(self)
Test the failure of the function for returning the desired spin data container.
source code
 
test_spin_loop(self)
Test the proper operation of the spin loop with spin selection.
source code
 
test_spin_loop_boolean_or(self)
Test the operation of the spin loop with the selection "#Ap4Aase:Glu | #RNA@C8".
source code
 
test_spin_loop_multiatom(self)
Test the proper operation of the spin loop with spin selection '@NH|@N5'.
source code
 
test_spin_loop_no_data(self)
Test the proper operation of the spin loop when no data is present.
source code
 
test_spin_loop_no_pipe(self)
Test the proper operation of the spin loop when no data pipe is present.
source code
 
test_spin_loop_no_selection(self)
Test the proper operation of the spin loop when no selection is present.
source code
 
test_spin_loop_single_spin(self)
Test the operation of the spin loop with the single spin selection '#Ap4Aase:Glu@63'.
source code
 
test_spin_loop_wildcard(self)
Test the proper operation of the spin loop with wildcard spin selection '@N*'.
source code
 
test_tokenise1(self)
Test the generic_fns.mol_res_spin.tokenise() function on the string '@1'.
source code
 
test_tokenise2(self)
Test the generic_fns.mol_res_spin.tokenise() function on the string ':-4'.
source code
 
test_tokenise3(self)
Test the generic_fns.mol_res_spin.tokenise() function on the string '#CaM'.
source code
 
test_tokenise4(self)
Test the generic_fns.mol_res_spin.tokenise() function on the string ':G@N3'.
source code
 
test_tokenise5(self)
Test the generic_fns.mol_res_spin.tokenise() function on the string '#OMP@NH'.
source code
 
test_tokenise6(self)
Test the generic_fns.mol_res_spin.tokenise() function on the string '#Lyso:20-50'.
source code
 
test_tokenise7(self)
Test the generic_fns.mol_res_spin.tokenise() function on the string '#Ap4Aase:*@N,CA'.
source code
 
test_tokenise8(self)
Test the generic_fns.mol_res_spin.tokenise() function on the string '@N*'.
source code
 
test_tokenise_dup_atom_id_fail1(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@N@1'.
source code
 
test_tokenise_dup_atom_id_fail2(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':*@N@1'.
source code
 
test_tokenise_dup_atom_id_fail3(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@N:*@1'.
source code
 
test_tokenise_dup_res_id_fail1(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':1:2'.
source code
 
test_tokenise_dup_res_id_fail2(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#None:1:Ala'.
source code
 
test_tokenise_dup_res_id_fail3(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':1:Ala@N'.
source code
 
test_tokenise_dup_mol_id_fail1(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#A#B'.
source code
 
test_tokenise_dup_mol_id_fail2(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#A#B:Leu'.
source code
 
test_tokenise_dup_mol_id_fail3(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#A#C@CA'.
source code
 
test_tokenise_out_of_order_atom_id_fail1(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@CA#A'.
source code
 
test_tokenise_out_of_order_atom_id_fail2(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@CA:Pro'.
source code
 
test_tokenise_out_of_order_atom_id_fail3(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@CA#Z:Pro'.
source code
 
test_tokenise_out_of_order_res_id_fail1(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@CA:Pro'.
source code
 
test_tokenise_out_of_order_res_id_fail2(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':Glu#X'.
source code
 
test_tokenise_out_of_order_res_id_fail3(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#1@12423:Glu'.
source code
 
test_tokenise_out_of_order_mol_id_fail1(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':1-160#A'.
source code
 
test_tokenise_out_of_order_mol_id_fail2(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@N,CA#A'.
source code
 
test_tokenise_out_of_order_mol_id_fail3(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@N:-10#Zip'.
source code
 
test_tokenise_bad_string_fail1(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '13'.
source code
 
test_tokenise_bad_string_fail2(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string 'XXX'.
source code
 
test_tokenise_bad_string_fail3(self)
Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ''.
source code
 
test_boolean_and_selection(self)
Test boolean and in mol-res-spin selections.
source code
 
test_boolean_complex_selection(self)
Test complex boolean mol-res-spin selections.
source code
 
xxx_test_boolean_parenthesis_selection(self)
Test complex boolean mol-res-spin selections with parenthesis.
source code

Inherited from base_classes.UnitTestCase: tearDown

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __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__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Set up some molecules, residues, and spins for testing.

Overrides: unittest.case.TestCase.setUp

test_count_spins(self)

source code 

Test that the number of spins can be properly counted.

The function tested is generic_fns.mol_res_spin.count_spins().

test_count_no_spins(self)

source code 

Test that the number of spins (zero) can be properly counted.

The function tested is generic_fns.mol_res_spin.count_spins().

test_count_spins_no_pipe(self)

source code 

Test that the counting of the number of spins raises an error when no pipe exists.

The function tested is generic_fns.mol_res_spin.count_spins().

test_exists_mol_res_spin_data(self)

source code 

Test the function for determining if molecule-residue-spin data exists.

The function tested is generic_fns.mol_res_spin.exists_mol_res_spin_data().

test_exists_mol_res_spin_data_single_mol(self)

source code 

Determine if molecule-residue-spin data exists (with data for a single molecule).

The function tested is generic_fns.mol_res_spin.exists_mol_res_spin_data().

test_exists_mol_res_spin_data_single_res_name(self)

source code 

Determine if molecule-residue-spin data exists (when a single residue is named).

The function tested is generic_fns.mol_res_spin.exists_mol_res_spin_data().

test_exists_mol_res_spin_data_single_res_num(self)

source code 

Determine if molecule-residue-spin data exists (when a single residue is numbered).

The function tested is generic_fns.mol_res_spin.exists_mol_res_spin_data().

test_exists_mol_res_spin_data_single_spin_name(self)

source code 

Determine if molecule-residue-spin data exists (when a single spin is named).

The function tested is generic_fns.mol_res_spin.exists_mol_res_spin_data().

test_exists_mol_res_spin_data_single_spin_num(self)

source code 

Determine if molecule-residue-spin data exists (when a single spin is numbered).

The function tested is generic_fns.mol_res_spin.exists_mol_res_spin_data().

test_exists_mol_res_spin_data_no_data(self)

source code 

Determine if molecule-residue-spin data exists when no data exists.

The function tested is generic_fns.mol_res_spin.exists_mol_res_spin_data().

test_exists_mol_res_spin_data_no_pipe(self)

source code 

Determine if molecule-residue-spin data exists when no data pipe exists.

The function tested is generic_fns.mol_res_spin.exists_mol_res_spin_data().

test_generate_spin_id_data_array1(self)

source code 

First test of the spin ID generation function.

The function tested is generic_fns.mol_res_spin.generate_spin_id_data_array().

test_generate_spin_id_data_array2(self)

source code 

Second test of the spin ID generation function.

The function tested is generic_fns.mol_res_spin.generate_spin_id_data_array().

test_generate_spin_id_data_array3(self)

source code 

Third test of the spin ID generation function.

The function tested is generic_fns.mol_res_spin.generate_spin_id_data_array().

test_generate_spin_id_data_array4(self)

source code 

Fourth test of the spin ID generation function.

The function tested is generic_fns.mol_res_spin.generate_spin_id_data_array().

test_generate_spin_id_data_array5(self)

source code 

Fifth test of the spin ID generation function.

The function tested is generic_fns.mol_res_spin.generate_spin_id_data_array().

test_generate_spin_id_data_array6(self)

source code 

Sixth test of the spin ID generation function.

The function tested is generic_fns.mol_res_spin.generate_spin_id_data_array().

test_molecule_loop(self)

source code 

Test the proper operation of the molecule loop with molecule selection.

The function tested is generic_fns.mol_res_spin.molecule_loop().

test_molecule_loop_no_data(self)

source code 

Test the proper operation of the molecule loop when no data is present.

The function tested is generic_fns.mol_res_spin.molecule_loop().

test_molecule_loop_no_pipe(self)

source code 

Test the proper operation of the molecule loop when no data pipe is present.

The function tested is generic_fns.mol_res_spin.molecule_loop().

test_molecule_loop_no_selection(self)

source code 

Test the proper operation of the molecule loop when no selection is present.

The function tested is generic_fns.mol_res_spin.molecule_loop().

test_residue_loop(self)

source code 

Test the proper operation of the residue loop with residue selection.

The function tested is generic_fns.mol_res_spin.residue_loop().

test_residue_loop_no_data(self)

source code 

Test the proper operation of the residue loop when no data is present.

The function tested is generic_fns.mol_res_spin.residue_loop().

test_residue_loop_no_pipe(self)

source code 

Test the proper operation of the residue loop when no data pipe is present.

The function tested is generic_fns.mol_res_spin.residue_loop().

test_residue_loop_no_selection(self)

source code 

Test the proper operation of the residue loop when no selection is present.

The function tested is generic_fns.mol_res_spin.residue_loop().

test_return_molecule(self)

source code 

Test the function for returning the desired molecule data container.

The function tested is generic_fns.mol_res_spin.return_molecule().

test_return_molecule_pipe_fail(self)

source code 

Test the failure of the function for returning the desired molecule data container.

The function tested is generic_fns.mol_res_spin.return_molecule().

test_return_residue(self)

source code 

Test the function for returning the desired residue data container.

The function tested is generic_fns.mol_res_spin.return_residue().

test_return_residue_pipe_fail(self)

source code 

Test the failure of the function for returning the desired residue data container.

The function tested is generic_fns.mol_res_spin.return_residue().

test_return_single_residue_info(self)

source code 

Test the function for returning the desired residue data container.

The function tested is generic_fns.mol_res_spin.return_single_residue_info().

test_return_single_residue_info_fail(self)

source code 

Test the failure of the function for returning the desired residue data container.

The function tested is generic_fns.mol_res_spin.return_single_residue_info().

test_return_spin(self)

source code 

Test the function for returning the desired spin data container.

The function tested is generic_fns.mol_res_spin.return_spin().

test_return_spin_pipe_fail(self)

source code 

Test the failure of the function for returning the desired spin data container.

The function tested is generic_fns.mol_res_spin.return_spin().

test_spin_loop(self)

source code 

Test the proper operation of the spin loop with spin selection.

The function tested is generic_fns.mol_res_spin.spin_loop().

test_spin_loop_boolean_or(self)

source code 

Test the operation of the spin loop with the selection "#Ap4Aase:Glu | #RNA@C8".

The function tested is generic_fns.mol_res_spin.spin_loop().

test_spin_loop_multiatom(self)

source code 

Test the proper operation of the spin loop with spin selection '@NH|@N5'.

The function tested is generic_fns.mol_res_spin.spin_loop().

test_spin_loop_no_data(self)

source code 

Test the proper operation of the spin loop when no data is present.

The function tested is generic_fns.mol_res_spin.spin_loop().

test_spin_loop_no_pipe(self)

source code 

Test the proper operation of the spin loop when no data pipe is present.

The function tested is generic_fns.mol_res_spin.spin_loop().

test_spin_loop_no_selection(self)

source code 

Test the proper operation of the spin loop when no selection is present.

The function tested is generic_fns.mol_res_spin.spin_loop().

test_spin_loop_single_spin(self)

source code 

Test the operation of the spin loop with the single spin selection '#Ap4Aase:Glu@63'.

The function tested is generic_fns.mol_res_spin.spin_loop().

test_spin_loop_wildcard(self)

source code 

Test the proper operation of the spin loop with wildcard spin selection '@N*'.

The function tested is generic_fns.mol_res_spin.spin_loop().

test_tokenise_dup_atom_id_fail1(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@N@1'.

This tests for a duplicated atom identifier.

test_tokenise_dup_atom_id_fail2(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':*@N@1'.

This tests for a duplicated atom identifier.

test_tokenise_dup_atom_id_fail3(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@N:*@1'.

This tests for a duplicated atom identifier.

test_tokenise_dup_res_id_fail1(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':1:2'.

This tests for a duplicated residue identifier.

test_tokenise_dup_res_id_fail2(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#None:1:Ala'.

This tests for a duplicated residue identifier.

test_tokenise_dup_res_id_fail3(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':1:Ala@N'.

This tests for a duplicated residue identifier.

test_tokenise_dup_mol_id_fail1(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#A#B'.

This tests for a duplicated molecule identifier.

test_tokenise_dup_mol_id_fail2(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#A#B:Leu'.

This tests for a duplicated molecule identifier.

test_tokenise_dup_mol_id_fail3(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#A#C@CA'.

This tests for a duplicated molecule identifier.

test_tokenise_out_of_order_atom_id_fail1(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@CA#A'.

This tests for an out of order '@' identifier.

test_tokenise_out_of_order_atom_id_fail2(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@CA:Pro'.

This tests for an out of order '@' identifier.

test_tokenise_out_of_order_atom_id_fail3(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@CA#Z:Pro'.

This tests for an out of order '@' identifier.

test_tokenise_out_of_order_res_id_fail1(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@CA:Pro'.

This tests for an out of order ':' identifier.

test_tokenise_out_of_order_res_id_fail2(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':Glu#X'.

This tests for an out of order ':' identifier.

test_tokenise_out_of_order_res_id_fail3(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '#1@12423:Glu'.

This tests for an out of order ':' identifier.

test_tokenise_out_of_order_mol_id_fail1(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ':1-160#A'.

This tests for an out of order '#' identifier.

test_tokenise_out_of_order_mol_id_fail2(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@N,CA#A'.

This tests for an out of order '#' identifier.

test_tokenise_out_of_order_mol_id_fail3(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '@N:-10#Zip'.

This tests for an out of order '#' identifier.

test_tokenise_bad_string_fail1(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string '13'.

This tests for an improper selection string.

test_tokenise_bad_string_fail2(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string 'XXX'.

This tests for an improper selection string.

test_tokenise_bad_string_fail3(self)

source code 

Test failure of the generic_fns.mol_res_spin.tokenise() function on the string ''.

This tests for an improper selection string.