James McCool
commited on
Commit
·
286b8a7
1
Parent(s):
4bde0fc
checking to see if this fixes the exposure increase issue
Browse files
global_func/exposure_spread.py
CHANGED
|
@@ -363,6 +363,10 @@ def exposure_spread(working_frame, exposure_player, exposure_target, comp_salary
|
|
| 363 |
|
| 364 |
# Create a list of comparable players
|
| 365 |
comparable_player_list = comparable_players['player_names'].tolist()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 366 |
if comparable_player_list:
|
| 367 |
# Find which column contains the exposure_player
|
| 368 |
if specific_columns != []:
|
|
|
|
| 363 |
|
| 364 |
# Create a list of comparable players
|
| 365 |
comparable_player_list = comparable_players['player_names'].tolist()
|
| 366 |
+
|
| 367 |
+
if exposure_player in row_data.values:
|
| 368 |
+
comparable_player_list = []
|
| 369 |
+
|
| 370 |
if comparable_player_list:
|
| 371 |
# Find which column contains the exposure_player
|
| 372 |
if specific_columns != []:
|