Put IPC year in result tables in parentheses

This commit is contained in:
Patrick Lühne 2017-12-15 15:13:17 +01:00
parent 0ef8b69486
commit f845e2a95b
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -304,7 +304,10 @@ def renderAggregatedResultsTable(type, configurations, instanceSetID, instanceSe
if format == "html": if format == "html":
print("<tr><td class=\"col-header\">" + ipcDomain[0] + "</td><td class=\"col-header\">" + ipcDomain[1] + "</td>") print("<tr><td class=\"col-header\">" + ipcDomain[0] + "</td><td class=\"col-header\">" + ipcDomain[1] + "</td>")
else: else:
print((ipcDomain[0][4:] if ipcDomain[0][0:4] == "ipc-" else ipcDomain[0]) + ("/" + ipcDomain[1] if ipcDomain[1] else ""), end = "") if ipcDomain[1]:
print(ipcDomain[1] + " (" + (ipcDomain[0][4:] if ipcDomain[0][0:4] == "ipc-" else ipcDomain[0]) + ")", end = "")
else:
print((ipcDomain[0][4:] if ipcDomain[0][0:4] == "ipc-" else ipcDomain[0]), end = "")
for configuration in sortedConfigurations: for configuration in sortedConfigurations:
if not instanceSetID in configuration["instanceSets"]: if not instanceSetID in configuration["instanceSets"]: