Protool/flags.py
def is_carbon(self,atom):
        """Returns 1 if the current atom is a carbon"""
        atomname=atom.split(':')[-1]
        if atomname.find('C')!=-1:
            return 1
        return None
Returns 1 if the current atom is a carbon
Returns 1 if the current atom is a carbon
Returns 1 if the current atom is a carbon
def is_carbon(self,atom):
        atomname=atom.split(':')[-1]
        if atomname.find('C')!=-1:
            return 1
        return None
def is_carbon ( self , atom ) : atomname = atom . split ( ':' ) [ - 1 ] if atomname . find ( 'C' ) != - 1 : return 1 return None
Returns 1 if the current atom is a carbon
Returns 1 if the current atom is a carbon
"""Returns 1 if the current atom is a carbon"""
self
atom