Skip to content
Snippets Groups Projects
Commit 700480d8 authored by Cassandra Grzonkowski's avatar Cassandra Grzonkowski
Browse files

test number entries

parent 8196dbd7
No related branches found
No related tags found
1 merge request!1Instant spectograms
......@@ -98,6 +98,7 @@ def get_paths_diff_charts(song_dirs, indexed_vocabulary):
# should be set in following loop
number_of_charts_diffs = None
all_paths_old_old = all_paths
list_items = os.listdir(song_dir)
for item in os.listdir(song_dir):
if item.endswith('.sm'):
opened_file = simfile.open(f"{song_dir}/{item}")
......@@ -138,6 +139,7 @@ def get_paths_diff_charts(song_dirs, indexed_vocabulary):
except AssertionError:
print(f'Len paths {len(all_paths)}, Len difficulties {len(all_difficulties)}, Len charts {len(all_charts)}')
print(f'Len paths old {len(all_paths_old)}, Len paths old old {len(all_paths_old_old)}, number_of_charts_diffs {number_of_charts_diffs}')
print(f'List items {list_items}')
exit(1)
#print(f"\n Number all paths: number songs = {len(all_paths)}, first 5 paths = {all_paths[:5]}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment