Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/tester/upload_from_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def _upload_one_image(temp_dir, group_id, ref, uri, exposure_start):
with open(path, "r+b") as temp_file:
for header_key in headers:
replace_header_key(temp_file, header_key, headers[header_key])
if not sidecar_uploaded:
if not sidecar_uploaded and instrument in _LSST_CAMERA_LIST:
with fits.open(temp_file, mode="update") as hdul:
dest_bucket.put_object(
Body=json.dumps(dict(hdul[0].header)),
Expand Down