ryanhausen / fitsmap

FitsMap: A Simple, Lightweight Tool For Displaying Interactive Astronomical Image and Catalog Data
MIT License
48 stars 8 forks source link

Creating a FitsMap when the catalog data exists throws an error. #62

Closed ryanhausen closed 1 year ago

ryanhausen commented 2 years ago

when I run create_fitsmap.py and there are existing catalogs in map/ the code crashes and complains that the .column file is missing.

If I try to create a fitsmap with catalogs using multiple cores, it always fails

ryanhausen commented 2 years ago

I was able to reproduce. The issue is here:

https://github.com/ryanhausen/fitsmap/blob/master/fitsmap/cartographer.py#L114

I remove this file to clean up when generating the web page, but its needed if you only do a partial generation.