Skip to content

Commit be0e339

Browse files
authored
Merge branch 'main' into dependabot/pip/sphinx-gte-7.2-and-lt-10
2 parents 9ecc31e + d2c9851 commit be0e339

12 files changed

Lines changed: 181 additions & 16 deletions

File tree

.github/workflows/asv-nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
echo "yesterday=$(date -d yesterday +'%Y-%m-%d')" >> $GITHUB_OUTPUT
5252
echo "today=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
5353
- name: Use last nightly commit hash from cache
54-
uses: actions/cache@v4
54+
uses: actions/cache@v5
5555
with:
5656
path: ${{env.WORKING_DIR}}
5757
key: nightly-results-${{steps.nightly-dates.outputs.yesterday}}
@@ -66,7 +66,7 @@ jobs:
6666
fi
6767
echo $CURRENT_HASH > $HASH_FILE
6868
- name: Update last nightly hash in cache
69-
uses: actions/cache@v4
69+
uses: actions/cache@v5
7070
with:
7171
path: ${{env.WORKING_DIR}}
7272
key: nightly-results-${{steps.nightly-dates.outputs.today}}

.github/workflows/asv-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
env:
6565
STEP_URL: ${{steps.jobs.outputs.html_url}}#step:10:1
6666
- name: Upload artifacts (PR number and benchmarks output)
67-
uses: actions/upload-artifact@v5
67+
uses: actions/upload-artifact@v6
6868
with:
6969
name: benchmark-artifacts
7070
path: ${{env.ARTIFACTS_DIR}}

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
permissions:
1414
contents: write
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- uses: actions/setup-python@v5
1818
with:
1919
python-version: "3.11"

.github/workflows/publish-benchmarks-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
echo "Conclusion: ${{ github.event.workflow_run.conclusion }}"
2828
echo "Event: ${{ github.event.workflow_run.event }}"
2929
- name: Download artifact
30-
uses: dawidd6/action-download-artifact@v11
30+
uses: dawidd6/action-download-artifact@v12
3131
with:
3232
name: benchmark-artifacts
3333
run_id: ${{ github.event.workflow_run.id }}

.github/workflows/smoke-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
python-version: ['3.11', '3.12', '3.13']
2424

2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727
- name: Set up Python ${{ matrix.python-version }}
2828
uses: actions/setup-python@v5
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Install uv
32-
uses: astral-sh/setup-uv@v5
32+
uses: astral-sh/setup-uv@v7
3333
- name: Install dependencies
3434
run: |
3535
sudo apt-get update

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 0.1.1
4+
5+
- Fix `score_density_hybrid` stage-1 de-duplication for LSDB catalogs by deriving unique IDs from pixel metadata and partition context.
6+
- Add tests for unique ID generation in Dask and LSDB paths.
7+
- Pin `sphinx-rtd-theme>=3.0,<4` to avoid Sphinx 7+ theme incompatibility; update docs for mag_global hist_peak clipping.
8+
39
## 0.1.0
410

511
- First publishable release of `hipscatalog-gen`.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ Each run generates a HiPS-compliant directory structure under output.out_dir:
139139
## Mode Summary
140140

141141
- **mag_global**: magnitude-complete slices across all depths.
142+
- mag_global hist_peak default bounds: when `adaptive_range=hist_peak` and `mag_min`/`mag_max` are not provided, the histogram range clips the global min/max to [-2, 40] (mag_min clipped to >= -2; mag_max from the peak within [-2, min(global_max, 40)]).
142143
- **score_global**: score-based slices across all depths.
143144
- **score_density_hybrid**: density-driven tiles for depths 1–3, then score slices for deeper levels.
144145
- Ordering and ties: `order_desc` controls ascending/descending (default ascending); optional `tie_column` breaks ties before falling back to RA/DEC.

docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Overview
99
- Three selection modes (``algorithm.selection_mode``):
1010

1111
- ``mag_global``: magnitude-complete selection (see ``algorithm.mag_global.*``).
12+
- ``mag_global`` hist_peak defaults: when no ``mag_min``/``mag_max`` are provided, the histogram range clips global min/max to [-2, 40] (min clipped to >= -2; max from the peak within [-2, min(global_max, 40)]).
1213
- ``score_global``: selection driven by an arbitrary score/expression (see ``algorithm.score_global.*``).
1314
- ``score_density_hybrid``: density-driven depths 1–3 with score-driven remainder (see ``algorithm.score_density_hybrid.*``).
1415

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ nbsphinx
77
sphinx
88
sphinx-autoapi
99
sphinx-copybutton
10-
sphinx-rtd-theme
10+
sphinx-rtd-theme>=3.0,<4

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hipscatalog-gen"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
license = "MIT"
55
license-files = ["LICENSE"]
66
readme = { file = "README.md", content-type = "text/markdown" }
@@ -65,7 +65,7 @@ dev = [
6565
]
6666
docs = [
6767
"sphinx>=7.2,<10",
68-
"sphinx-rtd-theme>=2.0,<4",
68+
"sphinx-rtd-theme>=3.0,<4",
6969
"myst-parser>=2.0,<5",
7070
"sphinx-autodoc-typehints>=2.0,<4",
7171
]

0 commit comments

Comments
 (0)