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

Corrected name to plot data grouping for meshType

parent 0d22aeec
No related branches found
No related tags found
No related merge requests found
......@@ -106,13 +106,15 @@ if __name__ == '__main__':
#if " " in comparisonObject:
# comparisonObject = comparisonObject.split(" ")
comparisonType = input("Type against what make the comparison (X axis of the graph): kernelFlavour, compiler: \n")
comparisonType = input("Type against what make the comparison (X axis of the graph): kernelFlavour, compiler, nRows ... : \n")
print(f"You chose: {comparisonType}\n")
if comparisonType == "matrixType":
if comparisonType == "meshType":
comparisonType = "prefix"
comparisonGroup = input("Type goups of data to consider (e.g. matrix type, compiler)\n")
comparisonGroup = input("Type groups of data to consider (e.g. meshType, compiler, nRows ...)\n")
print(f"You chose: {comparisonGroup}\n")
if comparisonGroup == "meshType":
comparisonGroup = "prefix"
compiler = ""
if comparisonType != "compiler" and comparisonGroup !="compiler":
......@@ -150,6 +152,9 @@ if __name__ == '__main__':
else:
columns = f"{comparisonGroup}, {comparisonType}, {comparisonObject}"
if comparisonType == "prefix": comparisonType = "meshType"
if comparisonObject == "prefix": comparisonObject = "meshType"
if nRows != []:
for nrows in nRows:
print(f"Analysing data for {nrows}")
......
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