diff --git a/preprocessing/sports/event_data/soccer/soccer_processing.py b/preprocessing/sports/event_data/soccer/soccer_processing.py index b5e43f8..0f737ce 100644 --- a/preprocessing/sports/event_data/soccer/soccer_processing.py +++ b/preprocessing/sports/event_data/soccer/soccer_processing.py @@ -1554,7 +1554,7 @@ def UIED_bepro(data): 'handballFoul', 'changeOut', 'changeIn', 'deflection', 'cornerKick', 'saveByPunching', 'crossReceived', 'saveByCatching', 'keyPass', 'assist', 'goal', 'goalAgainst', - 'offside', 'pause', 'defensiveLineSupport' + 'offside', 'pause', 'defensiveLineSupport', None ] possession_team_actions = ['pass', 'possession', 'duel', 'passReceived', @@ -1643,7 +1643,7 @@ def UIED_bepro(data): 'handballFoul', 'changeOut', 'changeIn', 'deflection', 'saveByPunching', 'crossReceived', 'saveByCatching', 'keyPass', 'assist', 'goalAgainst', - 'offside', 'pause', 'defensiveLineSupport', + 'offside', 'pause', 'defensiveLineSupport', None ] action_list=[] @@ -1665,6 +1665,7 @@ def UIED_bepro(data): elif df["action"].iloc[i] in drop_actions or pd.isna(df["action"].iloc[i]): action_list.append("drop") else: + pdb.set_trace() action= df["action"].iloc[i] print(f"Warning: action {action} was not found in the action list, it will be dropped") action_list.append("drop") diff --git a/pyproject.toml b/pyproject.toml index 618a9db..e158356 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "openstarlab_preprocessing" -version = "0.1.47" +version = "0.1.48" description = "openstarlab preprocessing package" readme = "README.md" requires-python = ">=3.8"