Skip to content

Commit

Permalink
^ uvdata _add get('info_source', None)
Browse files Browse the repository at this point in the history
  • Loading branch information
radonnachie committed Dec 13, 2024
1 parent a924ab6 commit 6072930
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pyuvdata/uvdata/uvdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,9 @@ def _consolidate_phase_center_catalogs(
# match, so this is functionally the same source
self._update_phase_center_id(match_id, new_id=cat_id)
# look_in_catalog ignores the "info_source" field, so update it to match
self.phase_center_catalog[cat_id]["info_source"] = cat_entry["info_source"]
info_source = cat_entry.get("info_source")
if info_source is not None:
self.phase_center_catalog[cat_id]["info_source"] = info_source
if ignore_name:
# Make the names match if names were ignored in matching
self.phase_center_catalog[cat_id]["cat_name"] = cat_entry["cat_name"]
Expand Down

0 comments on commit 6072930

Please sign in to comment.