def test_Selection_contains_res_re2(self): """The Selection object "#Ap4Aase:Glu | #RNA@C8" contains the res '*G*' of the mol 'Ap4Aase'.""" # The Selection object. obj = Selection("#Ap4Aase:Glu | #RNA@C8") # Check if the molecule is in the selection. self.assert_(obj.contains_res(res_name='*G*', mol='Ap4Aase'))
def test_Selection_contains_res6(self): """The Selection object "#Ap4Aase" does contains the res None.""" # The Selection object. obj = Selection("#Ap4Aase") # Check if the molecule is in the selection. self.assert_(obj.contains_res(mol='Ap4Aase'))
def test_Selection_contains_res7(self): """The Selection object "#Ap4Aase" does not contain the res None of the mol 'RNA'.""" # The Selection object. obj = Selection("#Ap4Aase") # Check if the molecule is in the selection. self.assert_(not obj.contains_res(mol='RNA'))
def test_Selection_contains_res4(self): """The Selection object "#Ap4Aase:Glu | #RNA@C8" does not contain the res 'Ala'.""" # The Selection object. obj = Selection("#Ap4Aase:Glu | #RNA@C8") # Check if the molecule is in the selection. self.assert_(not obj.contains_res(res_name='Ala'))
def test_Selection_contains_res5(self): """The Selection object "#Ap4Aase:Glu | #RNA:14@C8" does not contain the res None.""" # The Selection object. obj = Selection("#Ap4Aase:Glu | #RNA:14@C8") # Check if the molecule is in the selection. self.assert_(not obj.contains_res())