Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lsst/obs_base
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b44d0bc0d658da62eae10c4663feb7dc942cb8ca
Choose a base ref
..
head repository: lsst/obs_base
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7b1c03654f616a36bfea26672c692b77c66869ec
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/lsst/obs/base/formatters/fitsExposure.py
2 changes: 1 addition & 1 deletion python/lsst/obs/base/formatters/fitsExposure.py
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ def add_provenance_to_fits_header(
extras.set(f"{input_key} DATASETTYPE", input.datasetType.name)

if input.id in provenance.extras:
for k, v in provenance.extras[input.id]:
for k, v in provenance.extras[input.id].items():
extras.set(f"{input_key} {k.upper()}", v)

# Purge old headers from metadata (important for data ID and input headers