Skip to content

Commit

Permalink
Force re-creation of margin catalog. (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu authored Nov 26, 2024
1 parent e5b02fa commit c01072a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/hats_import/hipscat_conversion/run_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ def run(args: ConversionArguments, client):
if catalog_type not in (
CatalogType.OBJECT,
CatalogType.SOURCE,
CatalogType.MARGIN,
CatalogType.ASSOCIATION,
):
raise ValueError("Conversion only implemented for object, source, margin, and association tables")
raise ValueError(
"Conversion only implemented for object, source, and association tables. "
"Other tables should be re-generated."
)

catalog_info.pop("epoch", None)
catalog_info = catalog_info | args.extra_property_dict()
Expand Down

0 comments on commit c01072a

Please sign in to comment.