You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the definition of _populate_rank(), the following block:
# Seek phase with given ID
phase_id_found = False
for phase in self.__vt_data.get(rank_id).get("phases"):
if (curr_phase_id := phase["id"]) != phase_id:
# Ignore phases that are not of interest
self.__logger.debug(
f"Ignored phase {curr_phase_id} for rank {rank_id}")
continue
# Desired phase was found
phase_id_found = True
break
will result in an incorrect phase if the ID was not found.
This must be protected by a final test on phase_id_found and result in an error (and exit) if not found.
The text was updated successfully, but these errors were encountered:
In the definition of
_populate_rank()
, the following block:will result in an incorrect
phase
if the ID was not found.This must be protected by a final test on
phase_id_found
and result in an error (and exit) if not found.The text was updated successfully, but these errors were encountered: