#NEWLINE# def _validate_node( self , node , silent = False ) : #NEWLINE# #INDENT# 'Validate the node and only raise an exaption\n        if silent is False\n        ' #NEWLINE# try : #NEWLINE# #INDENT# log . info ( 'Pipeline | Validating node %s' , node ) #NEWLINE# node . _tool . validate ( ) #NEWLINE# #UNINDENT# except Exception as err : #NEWLINE# #INDENT# if ( not silent ) : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# log . debug ( 'Node validation failed, but validation is disabled: %s' , err )