stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
players: Ensuring xG predictions...
players: Found 45 players for team BOS
players: Loading league baseline...
players: Using baseline path: analysis/league/20242025/5v5
league: loading baseline from analysis/league/20242025/5v5/20242025_league_baseline.npy
players: Analyzing 45 players...
xgs_map: using provided DataFrame (in-memory) -> rows= 16679
players: Error analyzing player 8482177: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 23397
players: Error analyzing player 8477956: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 22863
players: Error analyzing player 8479365: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 5426
players: Error analyzing player 8479368: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 21752
players: Error analyzing player 8479369: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 19069
players: Error analyzing player 8481043: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 20236
players: Error analyzing player 8481556: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 11036
players: Error analyzing player 8480789: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 21259
players: Error analyzing player 8479638: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 5476
players: Error analyzing player 8480280: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 9889
players: Error analyzing player 8477851: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 5314
players: Error analyzing player 8483489: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 17554
players: Error analyzing player 8480035: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 9517
players: Error analyzing player 8483505: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 5185
players: Error analyzing player 8476854: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 23913
players: Error analyzing player 8477496: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 4300
players: Error analyzing player 8480828: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 4051
players: Error analyzing player 8477887: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 23102
players: Error analyzing player 8478401: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 23120
players: Error analyzing player 8477507: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 3179
players: Error analyzing player 8483397: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 3630
players: Error analyzing player 8480070: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 28825
players: Error analyzing player 8473419: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 3114
players: Error analyzing player 8482763: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 21898
players: Error analyzing player 8482511: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 1311
players: Error analyzing player 8479705: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 15118
players: Error analyzing player 8479325: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 7172
players: Error analyzing player 8479968: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 24846
players: Error analyzing player 8475745: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 16039
players: Error analyzing player 8480355: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 27744
players: Error analyzing player 8478443: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 1618
players: Error analyzing player 8483567: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 13902
players: Error analyzing player 8480880: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 15119
players: Error analyzing player 8478450: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 21849
players: Error analyzing player 8479987: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 2469
players: Error analyzing player 8474870: cannot access local variable 'timing' where it is not associated with a value
xgs_map: using provided DataFrame (in-memory) -> rows= 21687
players: Error analyzing player 8479999: cannot access local variable 'timing' where it is not associated with a value
players: No player stats generated.
Processing BUF (Plotting)...
Generating maps for 28 players (skipped 0 up-to-date).
players: Starting analysis. Scope=season, Team=BUF, Condition={'game_state': ['5v5'], 'is_net_empty': [0]}
DEBUG: analyze.players called
INFO:root:Loaded cached shifts for game 2024020002 from data/20242025/shifts/shifts_2024020002.pkl
INFO:root:Loaded cached shifts for game 2024020012 from data/20242025/shifts/shifts_2024020012.pkl
INFO:root:Loaded cached shifts for game 2024020025 from data/20242025/shifts/shifts_2024020025.pkl
INFO:root:Loaded cached shifts for game 2024020067 from data/20242025/shifts/shifts_2024020067.pkl
INFO:root:Loaded cached shifts for game 2024020085 from data/20242025/shifts/shifts_2024020085.pkl
INFO:root:Loaded cached shifts for game 2024020095 from data/20242025/shifts/shifts_2024020095.pkl
INFO:root:Loaded cached shifts for game 2024020122 from data/20242025/shifts/shifts_2024020122.pkl
INFO:root:Loaded cached shifts for game 2024020179 from data/20242025/shifts/shifts_2024020179.pkl
INFO:root:Loaded cached shifts for game 2024020278 from data/20242025/shifts/shifts_2024020278.pkl
INFO:root:Loaded cached shifts for game 2024020305 from data/20242025/shifts/shifts_2024020305.pkl
INFO:root:Loaded cached shifts for game 2024020317 from data/20242025/shifts/shifts_2024020317.pkl
INFO:root:Loaded cached shifts for game 2024020331 from data/20242025/shifts/shifts_2024020331.pkl
INFO:root:Loaded cached shifts for game 2024020347 from data/20242025/shifts/shifts_2024020347.pkl
INFO:root:Loaded cached shifts for game 2024020364 from data/20242025/shifts/shifts_2024020364.pkl
INFO:root:Loaded cached shifts for game 2024020383 from data/20242025/shifts/shifts_2024020383.pkl
INFO:root:Loaded cached shifts for game 2024020397 from data/20242025/shifts/shifts_2024020397.pkl
INFO:root:Loaded cached shifts for game 2024020410 from data/20242025/shifts/shifts_2024020410.pkl
INFO:root:Loaded cached shifts for game 2024020426 from data/20242025/shifts/shifts_2024020426.pkl
INFO:root:Loaded cached shifts for game 2024020457 from data/20242025/shifts/shifts_2024020457.pkl
INFO:root:Loaded cached shifts for game 2024020480 from data/20242025/shifts/shifts_2024020480.pkl
INFO:root:Loaded cached shifts for game 2024020490 from data/20242025/shifts/shifts_2024020490.pkl
INFO:root:Loaded cached shifts for game 2024020497 from data/20242025/shifts/shifts_2024020497.pkl
INFO:root:Loaded cached shifts for game 2024020521 from data/20242025/shifts/shifts_2024020521.pkl
INFO:root:Loaded cached shifts for game 2024020531 from data/20242025/shifts/shifts_2024020531.pkl
INFO:root:Loaded cached shifts for game 2024020552 from data/20242025/shifts/shifts_2024020552.pkl
INFO:root:Loaded cached shifts for game 2024020558 from data/20242025/shifts/shifts_2024020558.pkl
INFO:root:Loaded cached shifts for game 2024020582 from data/20242025/shifts/shifts_2024020582.pkl
INFO:root:Loaded cached shifts for game 2024020595 from data/20242025/shifts/shifts_2024020595.pkl
INFO:root:Loaded cached shifts for game 2024020610 from data/20242025/shifts/shifts_2024020610.pkl
INFO:root:Loaded cached shifts for game 2024020630 from data/20242025/shifts/shifts_2024020630.pkl
INFO:root:Loaded cached shifts for game 2024020637 from data/20242025/shifts/shifts_2024020637.pkl
INFO:root:Loaded cached shifts for game 2024020742 from data/20242025/shifts/shifts_2024020742.pkl
INFO:root:Loaded cached shifts for game 2024020755 from data/20242025/shifts/shifts_2024020755.pkl
INFO:root:Loaded cached shifts for game 2024020767 from data/20242025/shifts/shifts_2024020767.pkl
INFO:root:Loaded cached shifts for game 2024020777 from data/20242025/shifts/shifts_2024020777.pkl
INFO:root:Loaded cached shifts for game 2024020799 from data/20242025/shifts/shifts_2024020799.pkl
INFO:root:Loaded cached shifts for game 2024020822 from data/20242025/shifts/shifts_2024020822.pkl
INFO:root:Loaded cached shifts for game 2024020835 from data/20242025/shifts/shifts_2024020835.pkl
INFO:root:Loaded cached shifts for game 2024020846 from data/20242025/shifts/shifts_2024020846.pkl
INFO:root:Loaded cached shifts for game 2024020885 from data/20242025/shifts/shifts_2024020885.pkl
INFO:root:Loaded cached shifts for game 2024020895 from data/20242025/shifts/shifts_2024020895.pkl
INFO:root:Loaded cached shifts for game 2024020919 from data/20242025/shifts/shifts_2024020919.pkl
INFO:root:Loaded cached shifts for game 2024020953 from data/20242025/shifts/shifts_2024020953.pkl
INFO:root:Loaded cached shifts for game 2024020968 from data/20242025/shifts/shifts_2024020968.pkl
INFO:root:Loaded cached shifts for game 2024020974 from data/20242025/shifts/shifts_2024020974.pkl
INFO:root:Loaded cached shifts for game 2024020989 from data/20242025/shifts/shifts_2024020989.pkl
INFO:root:Loaded cached shifts for game 2024021036 from data/20242025/shifts/shifts_2024021036.pkl
INFO:root:Loaded cached shifts for game 2024021055 from data/20242025/shifts/shifts_2024021055.pkl
INFO:root:Loaded cached shifts for game 2024021129 from data/20242025/shifts/shifts_2024021129.pkl
INFO:root:Loaded cached shifts for game 2024021143 from data/20242025/shifts/shifts_2024021143.pkl
INFO:root:Loaded cached shifts for game 2024021159 from data/20242025/shifts/shifts_2024021159.pkl
INFO:root:Loaded cached shifts for game 2024021171 from data/20242025/shifts/shifts_2024021171.pkl
INFO:root:Loaded cached shifts for game 2024021184 from data/20242025/shifts/shifts_2024021184.pkl
INFO:root:Loaded cached shifts for game 2024021215 from data/20242025/shifts/shifts_2024021215.pkl
INFO:root:Loaded cached shifts for game 2024021226 from data/20242025/shifts/shifts_2024021226.pkl
INFO:root:Loaded cached shifts for game 2024021235 from data/20242025/shifts/shifts_2024021235.pkl
INFO:root:Loaded cached shifts for game 2024021253 from data/20242025/shifts/shifts_2024021253.pkl
INFO:root:Loaded cached shifts for game 2024021268 from data/20242025/shifts/shifts_2024021268.pkl
INFO:root:Loaded cached shifts for game 2024021280 from data/20242025/shifts/shifts_2024021280.pkl
INFO:root:Loaded cached shifts for game 2024021292 from data/20242025/shifts/shifts_2024021292.pkl
INFO:root:Loaded cached shifts for game 2024021307 from data/20242025/shifts/shifts_2024021307.pkl
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
INFO:root:Loaded cached shifts for game 2024020001 from data/20242025/shifts/shifts_2024020001.pkl
INFO:root:Loaded cached shifts for game 2024020140 from data/20242025/shifts/shifts_2024020140.pkl
INFO:root:Loaded cached shifts for game 2024020169 from data/20242025/shifts/shifts_2024020169.pkl
INFO:root:Loaded cached shifts for game 2024020443 from data/20242025/shifts/shifts_2024020443.pkl
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
INFO:root:Loaded cached shifts for game 2024020057 from data/20242025/shifts/shifts_2024020057.pkl
INFO:root:Loaded cached shifts for game 2024020194 from data/20242025/shifts/shifts_2024020194.pkl
INFO:root:Loaded cached shifts for game 2024020213 from data/20242025/shifts/shifts_2024020213.pkl
INFO:root:Loaded cached shifts for game 2024020224 from data/20242025/shifts/shifts_2024020224.pkl
INFO:root:Loaded cached shifts for game 2024020239 from data/20242025/shifts/shifts_2024020239.pkl
INFO:root:Loaded cached shifts for game 2024020257 from data/20242025/shifts/shifts_2024020257.pkl
INFO:root:Loaded cached shifts for game 2024020654 from data/20242025/shifts/shifts_2024020654.pkl
INFO:root:Loaded cached shifts for game 2024020670 from data/20242025/shifts/shifts_2024020670.pkl
INFO:root:Loaded cached shifts for game 2024020705 from data/20242025/shifts/shifts_2024020705.pkl
INFO:root:Loaded cached shifts for game 2024020720 from data/20242025/shifts/shifts_2024020720.pkl
INFO:root:Loaded cached shifts for game 2024020940 from data/20242025/shifts/shifts_2024020940.pkl
INFO:root:Loaded cached shifts for game 2024021006 from data/20242025/shifts/shifts_2024021006.pkl
INFO:root:Loaded cached shifts for game 2024021021 from data/20242025/shifts/shifts_2024021021.pkl
INFO:root:Loaded cached shifts for game 2024021073 from data/20242025/shifts/shifts_2024021073.pkl
INFO:root:Loaded cached shifts for game 2024021100 from data/20242025/shifts/shifts_2024021100.pkl
INFO:root:Loaded cached shifts for game 2024021106 from data/20242025/shifts/shifts_2024021106.pkl
INFO:root:Loaded cached shifts for game 2024021119 from data/20242025/shifts/shifts_2024021119.pkl
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value
Traceback (most recent call last):
File "/home/spoon/new_puck/puck/analyze.py", line 556, in players
_, ret_heat, _, p_stats = xgs_map(
~~~~~~~^
season=season,
^^^^^^^^^^^^^^
...<8 lines>...
stats_only=not plot # Optimization: skip heatmap/plotting if we aren't plotting
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/spoon/new_puck/puck/analyze.py", line 2542, in xgs_map
if timing is not None:
^^^^^^
UnboundLocalError: cannot access local variable 'timing' where it is not associated with a value