Skip to content

Commit

Permalink
v0.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
xiachenrui committed Dec 20, 2024
1 parent b189393 commit dfb2b01
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ jobs:
context: .
dockerfile: ./Dockerfile
push: true
tags: huhansan666666/decipher:latest
tags: huhansan666666/slat:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM nvcr.io/nvidia/rapidsai/base:24.04-cuda11.8-py3.11
# Update and install dependencies
USER root
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install gcc g++ git -y \
&& DEBIAN_FRONTEND=noninteractive apt-get install gcc g++ git libgl1 -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@


# scSLAT: single cell spatial alignment tools

**scSLAT** package implements the **SLAT** (**S**patial **L**inked **A**lignment **T**ool) model to align single cell spatial omics data.

Please check our paper ***Spatial-linked alignment tool (SLAT) for aligning heterogenous slices*** on [*Nature Communications*](https://www.nature.com/articles/s41467-023-43105-5).

![Model architecture](docs/_static/Model.png)

## Directory structure
Expand All @@ -27,7 +30,7 @@
└── README.md
```

## Tutorial
## [Tutorial](https://slat.readthedocs.io/en/latest/tutorials.html)
Tutorial of `scSLAT` is [here](https://slat.readthedocs.io/en/latest/tutorials.html), if you have any question please open an issue on github

<img src='docs/_static/imgalignment.gif' width='400'>
Expand Down Expand Up @@ -66,9 +69,6 @@ pip install -e ".[dev,docs]"
install_pyg_dependencies
```

### Conda (Ongoing)
We plan to provide a conda package of `scSLAT` in the near future.


## Reproduce manuscript results
1. Please follow the [`env/README.md`](env/README.md) to install all dependencies. Please checkout the repository to v0.2.1 before install `scSLAT`.
Expand Down
4 changes: 1 addition & 3 deletions scSLAT/viz/multi_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from .color import godsnot_102, vega_10_scanpy, vega_20_scanpy, zeileis_28


def get_color(n=1, cmap: str = "scanpy", seed: int = 0):
def get_color(n:int = 1, cmap: str = "scanpy", seed: int = 0):
r"""
Get color
Expand Down Expand Up @@ -644,8 +644,6 @@ def draw_lines(
self,
ax,
show_error,
show_celltype,
default_color,
line_width: float = 0.3,
line_alpha: float = 0.7,
) -> None:
Expand Down

0 comments on commit dfb2b01

Please sign in to comment.