Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion python/activator/middleware_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def make_local_cache():
# TODO: find an API that doesn't require explicit enumeration
"goodSeeingCoadd": template_factor * base_keep_limit,
"deepCoadd": template_factor * base_keep_limit,
"template_coadd": template_factor * base_keep_limit,
"uw_stars_20240524": refcat_factor * base_keep_limit,
"uw_stars_20240228": refcat_factor * base_keep_limit,
"uw_stars_20240130": refcat_factor * base_keep_limit,
Expand Down Expand Up @@ -1647,7 +1648,8 @@ def _get_template_types(self) -> collections.abc.Set[str]:
raise RuntimeError from e
graph = pipeline.to_graph()
for dataset_type in graph.iter_overall_inputs():
if dataset_type[0].endswith("Coadd"):
# Avoid pulling in too many other sorts of coadds
if dataset_type[0] == "template_coadd" or dataset_type[0].endswith("Coadd"):
template_types.add(dataset_type[0])
return template_types

Expand Down
1 change: 1 addition & 0 deletions tests/data/make_central_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ butler transfer-datasets embargo_or4 "$REPO" --transfer copy --register-dataset-
butler transfer-datasets /repo/main "$REPO" --transfer copy --register-dataset-types --transfer-dimensions --dataset-type pretrainedModelPackage --collections pretrained_models/dummy
butler transfer-datasets embargo_or4 "$REPO" --transfer copy --register-dataset-types --transfer-dimensions --dataset-type skyMap --where "skymap='ops_rehersal_prep_2k_v1'"
butler transfer-datasets embargo_or4 "$REPO" --transfer copy --register-dataset-types --transfer-dimensions --dataset-type goodSeeingCoadd --collections LSSTComCamSim/runs/OR4_templates/w_2024_23/DM-44718/20240610T044930Z --where "instrument='LSSTComCamSim' and detector=4 and visit=7024061700046"
# TODO: add examples of template_coadd
butler transfer-datasets embargo_or4 "$REPO" --transfer copy --register-dataset-types --transfer-dimensions --dataset-type uw_stars_20240524 --collections refcats --where "instrument='LSSTComCamSim' and detector=4 and visit=7024061700046"

# Certify non-curated calibs
Expand Down