Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 889d69d

Browse files
committed
Incomplete files in last dist
1 parent 5afe116 commit 889d69d

6 files changed

Lines changed: 23 additions & 10 deletions

File tree

CHANGES.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
0.1.1
2+
1. Incomplete files in previous distribution
3+
2. Fix SettingWithCopy warning in plotting.cell_map
4+
5+
0.1.0
6+
1. The first major release of SpatialTis
7+
2. Yank the 1.0.0.dev0 version
8+
3. Neighbor search, neighborhood analysis, spatial enrichment analysis reimplemented in Rust
9+
4. Allow Ray runs on Windows

MANIFEST.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Exclude dev files
12
prune tests
23
prune docs
34
prune src
@@ -7,4 +8,8 @@ exclude .isort.cfg
78
exclude .pre-commit-config.yaml
89
exclude readthedocs.yaml
910
exclude mypy.ini
10-
exclude MANIFEST.in
11+
12+
# Include published needed files
13+
include LICENSE
14+
include CHANGES.txt
15+
recursive-include spatialtis/ *.py

docs/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ SpatialTis is a spatial analysis toolkit for single-cell multiplexed tissue data
1515
For a quick view of what it's does, check our following examples:
1616

1717
- MIBI breast cancer 180K cells: |MIBI-tutorial|_
18-
- IMC diabetes 1.7M cells: |IMC-tutorial|
18+
- IMC diabetes 1.7M cells: |IMC-tutorial|_
1919

2020
.. |MIBI-tutorial| image:: https://badgen.net/badge/view%20on/nbviewer/orange
2121
.. _MIBI-tutorial: https://nbviewer.jupyter.org/github/Mr-Milk/SpatialTis-Tutorial/blob/master/Tutorial-1%20%28MIBI-dataset%29.ipynb
2222

2323
.. |IMC-tutorial| image:: https://badgen.net/badge/view%20on/nbviewer/orange
24-
.. _IMC_tutorial: https://nbviewer.jupyter.org/github/Mr-Milk/SpatialTis-Tutorial/blob/master/Tutorial-2%20%28IMC-dataset%29.ipynb
24+
.. _IMC-tutorial: https://nbviewer.jupyter.org/github/Mr-Milk/SpatialTis-Tutorial/blob/master/Tutorial-2%20%28IMC-dataset%29.ipynb
2525

2626

2727
.. toctree::

docs/source/usage/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Installation
22
============
33

4-
SpatialTis requires **Python 3.6+**, it's recommended that you start a new environment.
4+
SpatialTis requires **Python 3.6+**, it's recommended that you install it in a new environment.
55

66
PYPI
77
----
@@ -17,7 +17,7 @@ For windows user
1717
-----------------
1818

1919
You may find installation problem with following dependencies, please refer to their documentation for detail instructions.
20-
You can try install them via conda channels, or compile it on your machine:
20+
You can try install them via conda channels, or compile it from source on your machine:
2121

2222
- `python-igraph <https://igraph.org/python/>`_
2323
- `leidenalg <https://leidenalg.readthedocs.io/en/stable/install.html>`_

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
from pathlib import Path
22

3-
from setuptools import find_packages, setup
3+
from setuptools import setup
44

55
README = Path("README.md").read_text()
66

77
setup(name="spatialtis",
8-
packages=find_packages(include=["spatialtis"]),
98
description="spatial analysis toolkit for single-cell multiplexed tissue data",
109
long_description=README,
1110
long_description_content_type="text/markdown",
12-
version="0.1.0",
11+
version="0.1.1",
1312
author="Mr-Milk",
1413
url="https://github.com/Mr-Milk/SpatialTis",
1514
author_email="yb97643@um.edu.mo",
@@ -25,5 +24,5 @@
2524
'scipy', 'shapely', 'bokeh',
2625
'seaborn', 'colour', 'matplotlib', 'tqdm', 'pyecharts', 'ray',
2726
'spatialentropy', 'colorama', 'snapshot_phantomjs', 'neighborhood_analysis'],
28-
extra_requires={'all': ['scikit-image', 'python-igraph', 'leidenalg', 'alphashape', 'tifffile', ]}
27+
extras_require={'all': ['scikit-image', 'python-igraph', 'leidenalg', 'alphashape', 'tifffile', ]}
2928
)

spatialtis/plotting/_cell_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def cell_map(
6666
if centroid_key not in adata.obs.keys():
6767
raise KeyError("Centroid key not exist")
6868

69-
df = adata.obs.query("&".join([f"({k}=='{v}')" for k, v in query.items()]))
69+
df = adata.obs.query("&".join([f"({k}=='{v}')" for k, v in query.items()])).copy()
7070

7171
if selected_types is not None:
7272
new_types = []

0 commit comments

Comments
 (0)