frag_pele/Covalent/pdb_corrector.py
def _get_residue_info(self):
        """
        It obtains the residue type of the residue that has the ligand covalently attached and fills
        the variable self.residue_type
        """
        residue_lines = self._pdb.get_residue(self._residue_chain, str(self._residue_number))
        self.residue = ''.join(residue_lines)
        self.residue_type = ''.join(residue_lines[0][17:20])
        if self._verbose:
            print('Residue lines: \n' + self.residue)
            print('Residue type: {}'.format(self.residue_type))

        It obtains the residue type of the residue that has the ligand covalently attached and fills
        the variable self.residue_type
        
It obtains the residue type of the residue that has the ligand covalently attached and fills
the variable self.residue_type
It obtains the residue type of the residue that has the ligand covalently attached and fills the variable self . residue_type
def _get_residue_info(self):
        residue_lines = self._pdb.get_residue(self._residue_chain, str(self._residue_number))
        self.residue = ''.join(residue_lines)
        self.residue_type = ''.join(residue_lines[0][17:20])
        if self._verbose:
            print('Residue lines: \n' + self.residue)
            print('Residue type: {}'.format(self.residue_type))
def _get_residue_info ( self ) : residue_lines = self . _pdb . get_residue ( self . _residue_chain , str ( self . _residue_number ) ) self . residue = '' . join ( residue_lines ) self . residue_type = '' . join ( residue_lines [ 0 ] [ 17 : 20 ] ) if self . _verbose : print ( 'Residue lines: \n' + self . residue ) print ( 'Residue type: {}' . format ( self . residue_type ) )
It obtains the residue type of the residue that has the ligand covalently attached and fills
the variable self.residue_type
It obtains the residue type of the residue that has the ligand covalently attached and fills the variable self . residue_type
"""
        It obtains the residue type of the residue that has the ligand covalently attached and fills
        the variable self.residue_type
        """
self