Skip to content

Commit 2acabc2

Browse files
author
UnravelSports [JB]
committed
fix
1 parent a380dbd commit 2acabc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unravel/soccer/dataset/kloppy_polars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def load(
709709
df = df.filter(~(pl.col(Column.X).is_null() & pl.col(Column.Y).is_null()))
710710

711711
if df[Column.BALL_OWNING_TEAM_ID].is_null().all():
712-
if self.ball_carrier_threshold is None:
712+
if self._ball_carrier_threshold is None:
713713
raise ValueError(
714714
f"This dataset requires us to infer the {Column.BALL_OWNING_TEAM_ID}, please specifiy a ball_carrier_threshold (float) to do so."
715715
)

0 commit comments

Comments
 (0)