Skip to content

change ra_kw and dec_kw in catalog_info.json #93

@maxwest-uw

Description

@maxwest-uw

because of the way that BaseCatalogInfo reads in the metadata (getting it's DataClass fields and then checking to see if it's in the JSON file) and because the catalog info class and the metadata file use two separate names ("ra_column" vs "ra_kw"), the catalog class sometimes won't pick up the right ra and dec column names, leading to errors.

i.e. change write_catalog_info from

  metadata["ra_kw"] = catalog_parameters.ra_column
  metadata["dec_kw"] = catalog_parameters.dec_column

to

  metadata["ra_column"] = catalog_parameters.ra_column
  metadata["dec_column"] = catalog_parameters.dec_column

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions