Author: bugman Date: Tue May 20 11:15:15 2008 New Revision: 6146 URL: http://svn.gna.org/viewcvs/relax?rev=6146&view=rev Log: Modified the unit tests to call Internal.load_pdb(). Modified: 1.3/test_suite/unit_tests/_generic_fns/_structure/test_internal.py Modified: 1.3/test_suite/unit_tests/_generic_fns/_structure/test_internal.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_generic_fns/_structure/test_internal.py?rev=6146&r1=6145&r2=6146&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/_generic_fns/_structure/test_internal.py (original) +++ 1.3/test_suite/unit_tests/_generic_fns/_structure/test_internal.py Tue May 20 11:15:15 2008 @@ -63,7 +63,7 @@ """Test the private Internal.__molecule_loop() method.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Loop over the molecules. mol_count = 0 @@ -84,7 +84,7 @@ """Test the private Internal.__molecule_loop() method with a selection object.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Create the selection object (which should match the molecule name of None). sel_obj = Selection('@1') @@ -108,7 +108,7 @@ """Test the Internal.__molecule_loop() method with a non-matching selection object.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Create the non-matching selection object. sel_obj = Selection('#XXX') @@ -126,7 +126,7 @@ """Test the private Internal.__residue_loop() method.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Loop over the residues. res_count = 0 @@ -147,7 +147,7 @@ """Test the private Internal.__residue_loop() method with a selection object.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Create the selection object (which should match the residue name of None). sel_obj = Selection('#Ap4Aase') @@ -171,7 +171,7 @@ """Test the Internal.__residue_loop() method with a non-matching selection object.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Create the non-matching selection object. sel_obj = Selection(':XXX') @@ -189,7 +189,7 @@ """Test the Internal.atom_loop() method.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Loop over the atoms. atom_count = 0 @@ -204,7 +204,7 @@ """Test the Internal.atom_loop() method with the '#XXX' mol selection.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Loop over the atoms. atom_count = 0 @@ -219,7 +219,7 @@ """Test the Internal.atom_loop() method with the ':8' res selection.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Loop over the atoms. atom_count = 0 @@ -239,7 +239,7 @@ """Test the Internal.atom_loop() method with the ':PRO' res selection.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Loop over the atoms. atom_count = 0 @@ -258,7 +258,7 @@ """Test the Internal.atom_loop() method with the '@CA' spin selection.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Loop over the atoms. atom_count = 0 @@ -277,7 +277,7 @@ """Test the Internal.atom_loop() method with the '@163' spin selection.""" # Load the PDB file. - self.data.load_structures(self.test_pdb_path) + self.data.load_pdb(self.test_pdb_path) # Loop over the atoms. atom_count = 0