James McCool
commited on
Commit
·
90a4822
1
Parent(s):
ba217a9
Add debug print statements in load_dk_fd_file.py: include additional print statements for clean_name and lineups.name to assist in debugging and data verification during file processing.
Browse files
global_func/load_dk_fd_file.py
CHANGED
|
@@ -15,6 +15,9 @@ def load_dk_fd_file(lineups, csv_file):
|
|
| 15 |
# Now load and process the lineups file
|
| 16 |
try:
|
| 17 |
clean_name = re.sub(r' \(\d+\)', '', lineups.name)
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
if '.csv' in clean_name:
|
| 20 |
lineups_df = pd.read_csv(lineups)
|
|
|
|
| 15 |
# Now load and process the lineups file
|
| 16 |
try:
|
| 17 |
clean_name = re.sub(r' \(\d+\)', '', lineups.name)
|
| 18 |
+
|
| 19 |
+
print(clean_name)
|
| 20 |
+
print(lineups.name)
|
| 21 |
|
| 22 |
if '.csv' in clean_name:
|
| 23 |
lineups_df = pd.read_csv(lineups)
|