Numerous fixes for Python scripts
This commit is contained in:
@@ -621,8 +621,7 @@ def generatePlots(pathToTrace):
|
||||
if(windowSize == 0):
|
||||
outputFiles = "No output file created. Check WindowSize and EnableWindowing configs."
|
||||
else:
|
||||
cursor.execute(" SELECT TraceEnd FROM GeneralInfo ")
|
||||
traceEnd = float(cursor.fetchone()[0])
|
||||
traceEnd = getTraceEndTime(connection)
|
||||
steps = int(ceil(traceEnd/windowSize))
|
||||
for p in plots:
|
||||
outputFiles += p(connection, pathToTrace, steps)
|
||||
|
||||
Reference in New Issue
Block a user