James McCool commited on
Commit
41b98e8
·
1 Parent(s): 8ea397a

Add debug print statements in 'exposure_spread' function to log comparable player lists, aiding in tracking player selection during execution.

Browse files
Files changed (1) hide show
  1. global_func/exposure_spread.py +4 -0
global_func/exposure_spread.py CHANGED
@@ -261,6 +261,8 @@ def exposure_spread(working_frame, exposure_player, exposure_target, ignore_stac
261
  except:
262
  comparable_player_list = []
263
 
 
 
264
  if comparable_player_list:
265
  insert_player = random.choice(comparable_player_list)
266
  # Find which column contains the exposure_player
@@ -316,6 +318,8 @@ def exposure_spread(working_frame, exposure_player, exposure_target, ignore_stac
316
 
317
  # Create a list of comparable players
318
  comparable_player_list = comparable_players['player_names'].tolist()
 
 
319
  if comparable_player_list:
320
  # Find which column contains the exposure_player
321
  if specific_columns != []:
 
261
  except:
262
  comparable_player_list = []
263
 
264
+ print(comparable_player_list)
265
+ print("^^^^ comparable player list")
266
  if comparable_player_list:
267
  insert_player = random.choice(comparable_player_list)
268
  # Find which column contains the exposure_player
 
318
 
319
  # Create a list of comparable players
320
  comparable_player_list = comparable_players['player_names'].tolist()
321
+ print(comparable_player_list)
322
+ print("^^^^ comparable player list")
323
  if comparable_player_list:
324
  # Find which column contains the exposure_player
325
  if specific_columns != []: