2024 Fixes

1) The CubeCobra CSV headers have changed slightly, capitalizing some words.
2) Cards in the maybeboard should not be included in the averages, so this filters them out.
3) Minor simplifications made to the keyword and word count analysis files to make it a bit easier for amateurs like me to figure out how to run these scripts.
This commit is contained in:
Dan Niemitalo 2024-06-09 10:18:30 -05:00
parent 4cd41ff129
commit e17e9a349c
3 changed files with 23 additions and 13 deletions

View file

@ -173,8 +173,9 @@ if __name__ == '__main__':
# cube_list = cubecobra_csv.load_cube_names(csv_path)
# 2. If you have your cube in Cube Cobra and want to consider only cards with a certain tag
csv_path = cubecobra_csv.request_cube_csv('TheElegantCube_fetched', 'elegant')
cube_list = cubecobra_csv.load_cube_names(csv_path, tag_filter={'core'})
cube_id = 'jeskaicube'
csv_path = cubecobra_csv.request_cube_csv(cube_id, cube_id)
cube_list = cubecobra_csv.load_cube_names(csv_path, tag_filter=None)
# 3. If you have a .txt of your cube
# cube_list = cube_json.load_cube_from_txt('YourCubeHere.txt')