Skip to content

Commit

Permalink
Merge pull request #23 from lsst-dm/tickets/DM-46914
Browse files Browse the repository at this point in the history
DM-46914: Demonstrate facility name mapping
  • Loading branch information
timj authored Dec 4, 2024
2 parents 9897f02 + 3cfe43c commit 8fa1c3a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,20 @@ jobs:
- name: Run tests
run: |
pytest -r a -v -n 3 --cov=lsst.dax.obscore --cov=tests --cov-report=xml --cov-report=term --cov-branch
pytest -r a -v -n 3 --cov=lsst.dax.obscore --cov=tests --cov-report=xml --cov-report=term --cov-branch \
--junitxml=junit.xml -o junit_family=legacy
butler obscore -h
- name: Upload coverage to codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

check-changes:
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
name: isort (python)
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.7.1
rev: v0.8.0
hooks:
- id: ruff
- repo: https://github.com/numpy/numpydoc
Expand Down
2 changes: 2 additions & 0 deletions configs/example.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
facility_name: Subaru
facility_map:
HSC: Subaru
obs_collection: LSST.DRP0
collections: ["HSC/runs/RC2/w_2022_16/DM-34451"]
dataset_types:
Expand Down
4 changes: 4 additions & 0 deletions configs/usdf-embargo-live.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
namespace: embargo
version: 1
facility_name: Rubin-LSST
facility_map:
LATISS: "Rubin:1.2m"
LSSTComCam: "Rubin:Simonyi"
LSSTCam: "Rubin:Simonyi"
# We don't explicitly specify instrument_name - it's auto-generated from the corresponding Butler dimension
obs_collection: LATISS_LIVE # may evolve as experience with this builds up
collection_type: RUN # means we are using all RUN-type collections that match line below
Expand Down

0 comments on commit 8fa1c3a

Please sign in to comment.