Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
d665476
1
Parent(s):
cceb4bf
Fix argument order in VORP roster assignment function in Streamlit app to enhance clarity and maintain consistency in player evaluations.
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -441,7 +441,7 @@ def main():
|
|
441 |
|
442 |
# Calculate VORP and rankings
|
443 |
pos_des_dict, orig_rank_dict, half_ppr_match_dict, custom_match_dict = assign_vorp_scoring(position_df, halfPpr_rv, custom_scoring_rv, user_league_settings, user_pos_vorp_limiters)
|
444 |
-
final_df = assign_vorp_roster(position_df, halfPpr_rv, custom_roster_rv,
|
445 |
final_df = final_df.drop(columns=['SR_ID'], axis=1)
|
446 |
final_df['Name_Lookup'] = final_df['Name'].map(orig_rank_dict)
|
447 |
final_df['Scoring_Lookup'] = final_df['pos_designation'].map(pos_des_dict)
|
|
|
441 |
|
442 |
# Calculate VORP and rankings
|
443 |
pos_des_dict, orig_rank_dict, half_ppr_match_dict, custom_match_dict = assign_vorp_scoring(position_df, halfPpr_rv, custom_scoring_rv, user_league_settings, user_pos_vorp_limiters)
|
444 |
+
final_df = assign_vorp_roster(position_df, halfPpr_rv, custom_roster_rv, user_pos_vorp_limiters, half_ppr_match_dict, custom_match_dict)
|
445 |
final_df = final_df.drop(columns=['SR_ID'], axis=1)
|
446 |
final_df['Name_Lookup'] = final_df['Name'].map(orig_rank_dict)
|
447 |
final_df['Scoring_Lookup'] = final_df['pos_designation'].map(pos_des_dict)
|