From 054c9f03611a1d4a83562cf73a951647c69010e5 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 18 Mar 2024 23:49:47 +0100 Subject: [PATCH] cleanup --- tools/generate_starchart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']