James McCool
commited on
Commit
·
67b7038
1
Parent(s):
ca4b602
Update return values in find_name_mismatches.py to include ownership and points dictionaries
Browse files- Modified the return statement in the find_name_mismatches function to include ownership_dict and fpts_dict, ensuring that all relevant data is returned for further processing.
- This change enhances the function's utility by providing comprehensive outputs necessary for subsequent operations.
global_func/find_name_mismatches.py
CHANGED
@@ -101,10 +101,10 @@ def find_name_mismatches(contest_df, projections_df, ownership_dict, fpts_dict):
|
|
101 |
st.success(f"Replaced '{selected_name}' with '{projection_name}'")
|
102 |
|
103 |
st.success("All changes applied successfully!")
|
104 |
-
return contest_df, projections_df
|
105 |
|
106 |
# Return the current state if form hasn't been submitted yet
|
107 |
-
return contest_df, projections_df
|
108 |
else:
|
109 |
st.success("All players have been automatically matched!")
|
110 |
# Apply automatic matches
|
|
|
101 |
st.success(f"Replaced '{selected_name}' with '{projection_name}'")
|
102 |
|
103 |
st.success("All changes applied successfully!")
|
104 |
+
return contest_df, projections_df, ownership_dict, fpts_dict
|
105 |
|
106 |
# Return the current state if form hasn't been submitted yet
|
107 |
+
return contest_df, projections_df, ownership_dict, fpts_dict
|
108 |
else:
|
109 |
st.success("All players have been automatically matched!")
|
110 |
# Apply automatic matches
|