invalid goal_number attribute
Opened this issue · 0 comments
dtracers commented
Traceback (most recent call last):
File "/user_code/main.py", line 105, in parse_replay
game_manager, proto_location, pandas_location = decompile_replay(replay_location)
File "/user_code/main.py", line 41, in decompile_replay
proto_manager = analyze_replay_file(filename, rattletrap_path=dir_path)
File "/env/local/lib/python3.7/site-packages/carball/decompile_replays.py", line 53, in analyze_replay_file
analysis.create_analysis()
File "/env/local/lib/python3.7/site-packages/carball/analysis/analysis_manager.py", line 61, in create_analysis
data_frame, kickoff_frames, first_touch_frames)
File "/env/local/lib/python3.7/site-packages/carball/analysis/analysis_manager.py", line 85, in perform_full_analysis
self.events_creator.create_events(game, proto_game, player_map, data_frame, kickoff_frames, first_touch_frames)
File "/env/local/lib/python3.7/site-packages/carball/analysis/events/event_creator.py", line 33, in create_events
goal_frames = data_frame.game.goal_number.notnull()
File "/env/local/lib/python3.7/site-packages/pandas/core/generic.py", line 5179, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'goal_number'