diff --git a/tools/generate_starchart.py b/tools/generate_starchart.py index 52b4cfc..a6511e6 100755 --- a/tools/generate_starchart.py +++ b/tools/generate_starchart.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# This script requires the following file in the current directory: +# This script requires the following file in the assets/tmp/ directory: # https://github.com/astronexus/HYG-Database/blob/cbd21013d2bb89732b893be357a6f41836dbe614/hyg/CURRENT/hygdata_v41.csv import csv @@ -62,7 +62,7 @@ def render(ra, dec, mag, ci, proper): total = 0 count = 0 count_extra = 0 -with open("hygdata_v41.csv", "r", encoding="utf-8") as f: +with open("assets/tmp/hygdata_v41.csv", "r", encoding="utf-8") as f: for entry in csv.DictReader(f): total += 1 ra = entry['ra']