Skip to content

Commit 59c1da2

Browse files
authored
Merge pull request #41 from CostaLab/main
update README, CITATION and pypi publishing workflow in doc branch
2 parents 7d2394b + 155b03b commit 59c1da2

3 files changed

Lines changed: 29 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
pypi-publish:
9+
name: Build and publish to PyPI
10+
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write # Mandatory for Trusted Publishing
13+
contents: read
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.10"
20+
- name: Install Poetry
21+
run: pip install poetry
22+
- name: Build package
23+
run: poetry build
24+
- name: Publish package
25+
uses: pypa/gh-action-pypi-publish@release/v1

CITATION.cff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ authors:
77
given-names: "James"
88
title: "NicheSphere"
99
version: 1.0.0
10-
doi: 10.5281/zenodo.XXXXX # Update this AFTER you get your DOI from Zenodo
11-
date-released: 2026-02-24 # Use today's date
12-
url: "https://github.com/CostaLab/NicheSphere"
10+
doi: 10.5281/zenodo.1875671
11+
date-released: 2026-02-24
12+
url: "https://github.com/CostaLab/NicheSphere"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# NicheSphere
44

5-
[![DOI](https://zenodo.org)](https://doi.org)
5+
[![DOI](https://zenodo.org/badge/685916590.svg)](https://doi.org/10.5281/zenodo.18756710)
66

77
NicheSphere is an sc-verse compatible Python library which allows the user to find differential co-localization domains / niches based on cell type pair co-localization probabilities in different conditions. Cell type pair co-localization probabilities can be obtained in different ways, for example, through deconvolution of spatial transcriptomics / PIC-seq data (getting the probabilities of finding each cell type in each spot / multiplet) ; or counting nearest neighbors of each type for each cell in single cell spatial data like MERFISH or CODEX.
88

0 commit comments

Comments
 (0)