Skip to content
Open
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
44 changes: 44 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: publish

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install build tooling
run: python -m pip install --upgrade build twine
- name: Build distributions
run: python -m build
- name: Validate distributions
run: python -m twine check dist/*
- name: Upload distributions
uses: actions/upload-artifact@v4
with:
name: python-dist
path: dist/*

publish:
needs: build
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- name: Download distributions
uses: actions/download-artifact@v4
with:
name: python-dist
path: dist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ All notable changes to AtlasPatch will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.0] - Unreleased

### Added

#### Slide and Patient Encoding
- `encode-slide` command for slide embeddings appended into `slide_features/<encoder>` inside the canonical per-slide H5
- `encode-patient` command for manifest-driven patient embeddings written under `patient_features/<encoder>/<case_id>.h5`
- Slide encoder registry and built-in slide encoders: `titan`, `prism`, `moozy`
- Patient encoder registry and built-in patient encoder: `moozy`

#### Packaging and Release
- Optional extras for slide and patient encoder stacks: `titan`, `prism`, `moozy`, `slide-encoders`, and `patient-encoders`
- GitHub Release to PyPI trusted publishing workflow in `publish.yml`


## [1.0.0] - 2025-02-03

### Added
Expand Down
Loading