From 5a78a72cea7556e871f51d4f4ab1d47d04637ce3 Mon Sep 17 00:00:00 2001 From: Krzysztof Findeisen Date: Fri, 13 Sep 2024 09:16:36 -0700 Subject: [PATCH] Update instructions for registering new dataset types. prompt_processing/ApPipe no longer works because it represents the "main" pipeline after preloading. --- doc/playbook.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/playbook.rst b/doc/playbook.rst index cc0bc082..9d769a43 100644 --- a/doc/playbook.rst +++ b/doc/playbook.rst @@ -307,7 +307,12 @@ One raw was ingested, visit-defined, and kept in the development central repo, s .. code-block:: sh apdb-cli create-sql "sqlite:///apdb.db" apdb_config.py - pipetask run -b s3://rubin-pp-dev-users/central_repo -i LATISS/raw/all,LATISS/defaults,LATISS/templates -o u/username/collection -d "detector=0 and instrument='LATISS' and exposure=2023082900500 and visit_system=0" -p $PROMPT_PROCESSING_DIR/pipelines/LATISS/ApPipe.yaml -c parameters:apdb_config=apdb_config.py -c diaPipe:doPackageAlerts=False --register-dataset-types --init-only + pipetask run -b s3://rubin-pp-dev-users/central_repo -i LATISS/raw/all,LATISS/defaults,LATISS/templates -o u/username/collection -d "detector=0 and instrument='LATISS' and exposure=2023082900500 and visit_system=0" -p $AP_PIPE_DIR/pipelines/LATISS/ApPipe.yaml -c parameters:apdb_config=apdb_config.py -c diaPipe:doPackageAlerts=False --register-dataset-types --init-only + +.. note:: + + The use of ``$AP_PIPE_DIR`` is not a typo. + The Prompt Processing pipelines run subsets that only work in the context of Prompt Processing; running the baseline version of the pipeline ensures that *all* dataset types are registered. Development Service