cleanup
This commit is contained in:
parent
1c06343fa6
commit
054c9f0361
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue