def adapt_for_peptides(self):
        """Adapt visualization for peptide ligands and interchain contacts"""
        cmd.hide('sticks', self.ligname)
        cmd.set('cartoon_color', 'lightorange', self.ligname)
        cmd.show('cartoon', self.ligname)
        cmd.show('sticks', "byres *-L")
        cmd.util.cnc(self.ligname)
        cmd.remove('%sCartoon and chain %s' % (self.protname, self.plcomplex.chain))
        cmd.set('cartoon_side_chain_helper', 0)
def adapt_for_peptides ( self ) : cmd . hide ( 'sticks' , self . ligname ) cmd . set ( 'cartoon_color' , 'lightorange' , self . ligname ) cmd . show ( 'cartoon' , self . ligname ) cmd . show ( 'sticks' , "byres *-L" ) cmd . util . cnc ( self . ligname ) cmd . remove ( '%sCartoon and chain %s' % ( self . protname , self . plcomplex . chain ) ) cmd . set ( 'cartoon_side_chain_helper' , 0 )
Adapt visualization for peptide ligands and interchain contacts