Skip to content
Snippets Groups Projects
Commit dac25c99 authored by Florian Grosse's avatar Florian Grosse
Browse files

Output UID in Winner selection log.

Logs of the winner selection after reconstruction lack the winners uid,
making it hard to find out which construction method won.
You already pass the uid to the WinnerSelectionInfo class but it's not
used there, so you may have forgotten to log it there. 
I just added uid to the things being logged for the winner selection.
Please revisit again if this is intended or not. 
Thanks
parent 80b92eed
No related branches found
No related tags found
1 merge request!1Output UID in Winner selection log.
......@@ -378,10 +378,10 @@ class WinnerSelectionInfo(LogMeMixin):
if self.state == self.State.SELECTED:
winner_info = "\n".join([
"{: <20}{}".format("Reconstructed:", str(self.uid)),
"{: <20}{: <15}{}".format("", "uid:", str(self.uid)),
"{: <20}{: <15}{}".format("", "Subject:", str(self.subject)),
"{: <20}{: <15}{}".format("", "Accuracy:", str(self.accuracy)),
"{: <20}{: <15}{}".format("", "Reliability:",
str(self.reliability))
"{: <20}{: <15}{}".format("", "Reliability:", str(self.reliability))
]
)
else:
......
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