HaileyStorm
commited on
Commit
•
03a4fe1
1
Parent(s):
5454089
Update filter_lichess_multi.py
Browse files- filter_lichess_multi.py +1 -1
filter_lichess_multi.py
CHANGED
@@ -46,7 +46,7 @@ def process_pgn_chunk(input_file, output_file, start_index, end_index):
|
|
46 |
csv_writer.writerow([transcript.rstrip()])
|
47 |
games_added += 1
|
48 |
if games_added % 100 == 0:
|
49 |
-
print(f"Thread {threading.current_thread().name} - Added {games_added} of {games_seen} games. {(games_seen+start_index)/float(total_games):.2%} complete.")
|
50 |
|
51 |
def process_pgn_file(input_file, output_file):
|
52 |
with open(output_file, 'w', newline='') as csv_file:
|
|
|
46 |
csv_writer.writerow([transcript.rstrip()])
|
47 |
games_added += 1
|
48 |
if games_added % 100 == 0:
|
49 |
+
print(f"Thread {threading.current_thread().name} - Added {games_added} of {games_seen} games.") # {(games_seen+start_index)/float(total_games):.2%} complete.")
|
50 |
|
51 |
def process_pgn_file(input_file, output_file):
|
52 |
with open(output_file, 'w', newline='') as csv_file:
|