#NEWLINE# def addTools( self , files , gknoPath , userPath ) : #NEWLINE# #INDENT# for tool in self . getTools ( ) : #NEWLINE# #INDENT# toolData = toolConfiguration . toolConfiguration ( ) #NEWLINE# isTool = False #NEWLINE# if ( tool in files . userConfigurationFiles ) : #NEWLINE# #INDENT# filename = str ( ( ( ( userPath + '/' ) + tool ) + '.json' ) ) #NEWLINE# isTool = toolData . checkConfigurationFile ( filename ) #NEWLINE# #UNINDENT# if ( not isTool ) : #NEWLINE# #INDENT# filename = str ( ( ( ( gknoPath + '/' ) + tool ) + '.json' ) ) #NEWLINE# #UNINDENT# if ( tool not in files . tools ) : #NEWLINE# #INDENT# self . pipelineErrors . invalidTool ( tool ) #NEWLINE# #UNINDENT# toolData . getConfigurationData ( tool , filename ) #NEWLINE# self . toolConfigurationData [ tool ] = toolData