def test_parse_remark_465(self): """A UNIT-test for the private function _parse_remark_465.""" info = _parse_remark_465("GLU B 276") self.assertEqual( info, { "model": None, "res_name": "GLU", "chain": "B", "ssseq": 276, "insertion": None }) info = _parse_remark_465("2 GLU B 276B") self.assertEqual( info, { "model": 2, "res_name": "GLU", "chain": "B", "ssseq": 276, "insertion": "B" }) info = _parse_remark_465("A 2 11") self.assertEqual( info, { "model": None, "res_name": "A", "chain": "2", "ssseq": 11, "insertion": None })
def test_parse_remark_465(self): """A UNIT-test for the private function _parse_remark_465.""" info = _parse_remark_465("GLU B 276") self.assertEqual(info, {"model": None, "res_name": "GLU", "chain": "B", "ssseq": 276, "insertion": None}) info = _parse_remark_465("2 GLU B 276B") self.assertEqual(info, {"model": 2, "res_name": "GLU", "chain": "B", "ssseq": 276, "insertion": "B"}) info = _parse_remark_465("A 2 11") self.assertEqual(info, {"model": None, "res_name": "A", "chain": "2", "ssseq": 11, "insertion": None})
def test_parse_remark_465(self): """A UNIT-test for the private function _parse_remark_465.""" info = _parse_remark_465("GLU B 276") self.assertEqual( info, { "model": None, "res_name": "GLU", "chain": "B", "ssseq": 276, "insertion": None, }, ) info = _parse_remark_465("U R -9") # Based on PDB id: 7c7a self.assertEqual( info, { "model": None, "res_name": "U", "chain": "R", "ssseq": -9, "insertion": None, }, ) info = _parse_remark_465("2 GLU B 276B") self.assertEqual( info, { "model": 2, "res_name": "GLU", "chain": "B", "ssseq": 276, "insertion": "B", }, ) info = _parse_remark_465("A 2 11") self.assertEqual( info, { "model": None, "res_name": "A", "chain": "2", "ssseq": 11, "insertion": None, }, ) info = _parse_remark_465("1 DG B 9") self.assertEqual( info, { "model": 1, "res_name": "DG", "chain": "B", "ssseq": 9, "insertion": None, }, )