Skip to content

Commit

Permalink
Allow import of map types. (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu authored Nov 20, 2024
1 parent 9aa49c4 commit d928c82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hats_import/catalog/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def _check_arguments(self):
raise ValueError("pixel_threshold should be between 100 and 1,000,000,000")
self.mapping_healpix_order = self.highest_healpix_order

if self.catalog_type not in ("source", "object"):
raise ValueError("catalog_type should be one of `source` or `object`")
if self.catalog_type not in ("source", "object", "map"):
raise ValueError("catalog_type should be one of `source`, `object`, or `map`")

if self.file_reader is None:
raise ValueError("file_reader is required")
Expand Down

0 comments on commit d928c82

Please sign in to comment.