Skip to content

why does get_event_list call get oprs and ransk? error on pit scouting #24

Description

@dcowden

File "/mount/src/data2025/pages/14_pit_scouting.py", line 12, in
all_teams = get_team_list(selected_event)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mount/src/data2025/cached_data.py", line 28, in get_team_list
all_teams_and_ranks = get_oprs_and_ranks_for_event(event_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mount/src/data2025/cached_data.py", line 73, in get_oprs_and_ranks_for_event
rank_summary_this_event = get_ranking_point_summary_for_event(event_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/adminuser/venv/lib/python3.12/site-packages/cachetools/_decorators.py", line 17, in wrapper
v = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/mount/src/data2025/cached_data.py", line 175, in get_ranking_point_summary_for_event
_add_team_rps_with_prefix('red',row)
File "/mount/src/data2025/cached_data.py", line 164, in _add_team_rps_with_prefix
if row[f'{prefix}_auto_bonus_achieved'] == 1:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "missing.pyx", line 392, in pandas._libs.missing.NAType.bool

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions