Skip to content
Snippets Groups Projects
Commit 96a86e85 authored by Francesco Bottau's avatar Francesco Bottau
Browse files

Removed compiler quotes in fig name

parent d0f49591
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ if __name__ == '__main__':
for comp in compilerAv:
print(comp[0])
compiler = input("Chose which compiler to consider: ")
compiler = f"'{compiler}'"
compiler = f"{compiler}"
timeAnalysis = ""
if "Time" in comparisonObject:
......@@ -155,7 +155,7 @@ if __name__ == '__main__':
print(f"Analysing data for {nrows}")
if compiler :
data = list(dbCursor.execute(F"SELECT {columns} FROM profiling WHERE compiler={compiler} AND nRows={nrows}"))
data = list(dbCursor.execute(F"SELECT {columns} FROM profiling WHERE compiler='{compiler}' AND nRows={nrows}"))
else:
data = list(dbCursor.execute(F"SELECT {columns} FROM profiling WHERE nRows={nrows}"))
......@@ -169,8 +169,9 @@ if __name__ == '__main__':
# -Plotting data
figTitle = f"{nrows} {compiler}"
figName = f"{nrows}-{comparisonObject}{timeAnalysis}-VS-{comparisonType}*{comparisonGroup}"
figName = f"{nrows}-{comparisonObject}{timeAnalysis}-VS-{comparisonType}_{comparisonGroup}"
if compiler != "":
compiler.strip("\'").strip("\'")
figName += f"-{compiler}"
plotGraph(dataDict, comparisonObject, types, figTitle, figName)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment