def create_output_line(self, runSet, sourcefile, status, cputime_delta, walltime_delta, host, columns, isFirstLine=False):
        """
        @param sourcefile: title of a sourcefile
        @param status: status of programm
        @param cputime_delta: time from running the programm
        @param walltime_delta: time from running the programm
        @param columns: list of columns with a title or a value
        @param isFirstLine: boolean for different output of headline and other lines
        @return: a line for the outputFile
        """

        lengthOfTime = 12
        minLengthOfColumns = 8

        outputLine = self.format_sourcefile_name(sourcefile, runSet) + \
                     status.ljust(LEN_OF_STATUS) + \
                     cputime_delta.rjust(lengthOfTime) + \
                     walltime_delta.rjust(lengthOfTime) + \
                     str(host).rjust(lengthOfTime)

        for column in columns:
            columnLength = max(minLengthOfColumns, len(column.title)) + 2

            if isFirstLine:
                value = column.title
            else:
                value = column.value

            outputLine = outputLine + str(value).rjust(columnLength)

        return outputLine
def create_output_line ( self , runSet , sourcefile , status , cputime_delta , walltime_delta , host , columns , isFirstLine = False ) : lengthOfTime = 12 minLengthOfColumns = 8 outputLine = self . format_sourcefile_name ( sourcefile , runSet ) + status . ljust ( LEN_OF_STATUS ) + cputime_delta . rjust ( lengthOfTime ) + walltime_delta . rjust ( lengthOfTime ) + str ( host ) . rjust ( lengthOfTime ) for column in columns : columnLength = max ( minLengthOfColumns , len ( column . title ) ) + 2 if isFirstLine : value = column . title else : value = column . value outputLine = outputLine + str ( value ) . rjust ( columnLength ) return outputLine
@param sourcefile: title of a sourcefile
        @param status: status of programm
        @param cputime_delta: time from running the programm
        @param walltime_delta: time from running the programm
        @param columns: list of columns with a title or a value
        @param isFirstLine: boolean for different output of headline and other lines
        @return: a line for the outputFile