Skip to content

Commit 145f5aa

Browse files
committed
mypy
1 parent b0bd97e commit 145f5aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onnx_diagnostic/helpers/log_helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,10 +1276,10 @@ def sbs(self, configs: Sequence[Dict[str, Any]]) -> pandas.DataFrame:
12761276

12771277
new_data = pandas.concat([d[1] for d in datas], axis=0)
12781278
cube = self.clone(new_data)
1279-
key_index = [c for c in self.keys_time if c not in set(columns_index)]
1279+
key_index = {c for c in self.keys_time if c not in set(columns_index)}
12801280
view = CubeViewDef(key_index=key_index, name="sbs", values=cube.values)
12811281
res = cube.view(view)
1282-
res = res.stack("METRICS", future_stack=True)
1282+
res = res.stack("METRICS", future_stack=True) # type: ignore[union-attr]
12831283
res = res.reorder_levels(
12841284
[res.index.nlevels - 1, *list(range(res.index.nlevels - 1))]
12851285
).sort_index()

0 commit comments

Comments
 (0)