From a3aedb64af3ce3da84151ebc8a641c8582d54315 Mon Sep 17 00:00:00 2001 From: Hsin-Fang Chiang Date: Fri, 4 Apr 2025 17:09:54 -0700 Subject: [PATCH] Do not upload sidecar for HSC --- python/tester/upload_from_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tester/upload_from_repo.py b/python/tester/upload_from_repo.py index 4dfad57b..93afbd47 100644 --- a/python/tester/upload_from_repo.py +++ b/python/tester/upload_from_repo.py @@ -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)),