#NEWLINE# def invalidImportTool( self , task ) : #NEWLINE# #INDENT# self . text . append ( 'Unable to import arguments.' ) #NEWLINE# self . text . append ( ( ( ( "The pipeline configuration file includes the field 'import arguments', which identifies a task from which to import " + 'arguments. Note that this task must be the address of a task in the pipeline, and this task could point to a tool or another pipeline. If ' ) + 'the task points to a pipeline, the arguments for that pipeline will be imported, otherwise the arguments from a tool will be imported. If ' ) + 'successful, the arguments from this tool/pipeilne will be available on the command line.' ) ) #NEWLINE# self . text . append ( ( ( ( "\tThe tool identified '" + task ) + "' is not available as part of this pipeline. Please check the configuration file and " ) + 'replace the tool name with a tool available in the pipeline.' ) ) #NEWLINE# self . errors . writeFormattedText ( self . text , errorType = 'error' ) #NEWLINE# self . errors . terminate ( self . errorCode )