

def AssembleDisplayHTML(self, inModel):
    x_or_xy = 'xy'
    if (inModel.GetDimensionality() == 2):
        x_or_xy = 'x'
    if inModel.baseEquationHasGlobalMultiplierOrDivisor_UsedInExtendedVersions:
        return (((((((inModel._HTML + '<br>') + inModel._leftSideHTML) + ' = ') + inModel._leftSideHTML) + ' * ') + x_or_xy) + ' + Offset')
    else:
        try:
            cd = inModel.GetCoefficientDesignators()
            return (((((((((inModel._HTML + '<br>') + inModel._leftSideHTML) + ' = ') + inModel._leftSideHTML) + ' * (') + cd[(- 2)]) + ' * ') + x_or_xy) + ') + Offset')
        except:
            return (((((((inModel._HTML + '<br>') + inModel._leftSideHTML) + ' = ') + inModel._leftSideHTML) + ' * (') + x_or_xy) + ') + Offset')

dataset/ETHPy150Open zunzun/pyeq2/ExtendedVersionHandlers/ExtendedVersionHandler_LinearGrowthAndOffset.py ExtendedVersionHandler_LinearGrowthAndOffset.AssembleDisplayHTML/original