diff --git a/perun/collect/time/run.py b/perun/collect/time/run.py index 386708d3..134479d3 100644 --- a/perun/collect/time/run.py +++ b/perun/collect/time/run.py @@ -39,7 +39,7 @@ def collect( """ log.major_info("Running time collector") log.minor_info("Warming up") - for _ in log.progress(range(0, warmup), description="Warmup"): + for __ in log.progress(range(0, warmup), description="Warmup"): command = " ".join(["time -p", str(executable)]).split(" ") commands.get_stdout_from_external_command( command, log_tag="warmup", log_verbosity=log.VERBOSE_RELEASE diff --git a/perun/view_diff/sankey/run.py b/perun/view_diff/sankey/run.py index cb27ea2b..70051581 100755 --- a/perun/view_diff/sankey/run.py +++ b/perun/view_diff/sankey/run.py @@ -108,7 +108,7 @@ class Linkage: __slots__ = ["source", "target", "value", "color"] source: list[int] target: list[int] - value: list[int] + value: list[float] color: list[str] def __init__(self): @@ -151,10 +151,10 @@ class SankeyGraph: linkage: dict[Literal["split", "merged"], Linkage] width: int height: int - min: int - max: int - diff: int - sum: int + min: float + max: float + diff: float + sum: float def __init__(self, uid: str): """Initializes the graph""" @@ -323,7 +323,7 @@ def create_edge( edge_type: Literal["split", "merged"], src: int, tgt: int, - value: int, + value: float, color: str, ) -> None: """Creates single edge in the sankey graph