Details
-
Type:
Story
-
Status: To Do
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: ap_verify
-
Labels:None
-
Team:Data Release Production
-
Urgent?:No
Description
When running ap_verify locally, I noticed deprecation warnings because the config/calibrate.py in ap_verify_hits2015, ap_verify_ci_cosmos_pdr2, and ap_verify_ci_hits2015 override ref_dataset_name which has been deprecated. These should be removed.
Note: changes made on
DM-38327do not impact this ticket. That ticket removes the vestigial loadIndexedReferenceObjects.py file, but does not touch the replacement loadReferenceObjects.py file nor the deprecated ref_dataset_name config reported on this ticket.Testing was made to confirm the above, running:
ap_verify.py \
--dataset ap_verify_ci_cosmos_pdr2 \
--output $BASEDIR \
2>&1 | tee $BASEDIR/ap_verify_test.log
which confirmed that the following error messages continue to appear:
py.warnings WARNING: /sdf/group/rubin/user/lskelvin/repos/ap_verify_ci_cosmos_pdr2/config/calibrate.py:11: FutureWarning: Config field astromRefObjLoader.ref_dataset_name is deprecated: This field is not used. It will be removed after v25.
config.astromRefObjLoader.ref_dataset_name = config.connections.astromRefCat
...