diff --git a/testmodel.py b/testmodel.py index 4dfd562..239ffe0 100755 --- a/testmodel.py +++ b/testmodel.py @@ -529,7 +529,7 @@ def sendExpressionOldOrNew(cmd): # Create a file containing only the calibrated variables, for easy display lstfiles = "\n".join(['
  • %s (javascript) (csv)
  • ' % (str.split(str(f),".diff.",1)[1],str(os.path.basename(f)),str(os.path.basename(f))) for f in diffFiles]) with open(prefix+".html", 'w') as fp: - fp.write("

    %s differences from the reference file

    startTime: %g

    stopTime: %g

    Simulated using tolerance: %g

    " % (conf["modelName"], startTime, stopTime, tolerance, lstfiles)); + fp.write('

    %s differences from the reference file

    startTime: %g

    stopTime: %g

    Simulated using tolerance: %g

    ' % (conf["modelName"], startTime, stopTime, tolerance, lstfiles)) for var in diffVars: if "/" in var: continue # Quoted identifier, or possibly an error message... Either way, avoid crapping out below