Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
808 commits
Select commit Hold shift + click to select a range
adfd735
using points for bins
LucaMarconato May 21, 2024
87d6cab
experiment with relabeling; I will remove the code
LucaMarconato May 22, 2024
f56639f
cleanup
LucaMarconato May 22, 2024
dbab732
fix spatialdata dependency
LucaMarconato May 22, 2024
8bc283c
update
giovp May 24, 2024
b3b5a51
stereoseq fixes
LucaMarconato May 24, 2024
22c4e27
changelog
LucaMarconato May 24, 2024
cf9c749
add stereoseq to readme
LucaMarconato May 24, 2024
a0c1ae9
cleanup
LucaMarconato May 24, 2024
3599dff
Merge pull request #70 from LLehner/Stereo-seq_reader
LucaMarconato May 24, 2024
1b33147
Merge branch 'main' into giovp/codecov
LucaMarconato May 24, 2024
f1e0ea8
Merge pull request #148 from scverse/giovp/codecov
LucaMarconato May 24, 2024
f88c177
fix dataframe import
LucaMarconato May 25, 2024
ba32593
support for binned_outputs folder for visium hd
LucaMarconato May 25, 2024
7b0f234
xenium table optional
LucaMarconato May 28, 2024
fe4813e
merscope reader update
quentinblampey May 28, 2024
954c5b6
fix mypy and flake8
quentinblampey May 28, 2024
bce8af9
code review from quentin
LucaMarconato May 28, 2024
fc67aa2
Merge pull request #151 from scverse/xenium_no_table
LucaMarconato May 28, 2024
81ca99e
Merge pull request #149 from scverse/fix/visium_hd_bins
LucaMarconato May 28, 2024
55b1071
Merge pull request #152 from quentinblampey/merscope_rioxarray
LucaMarconato May 28, 2024
4e42a45
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jun 10, 2024
5d42716
Merge pull request #154 from scverse/pre-commit-ci-update-config
LucaMarconato Jun 11, 2024
581f984
fix bin_size parsing visium hd
LucaMarconato Jun 15, 2024
ed8c294
improvements seqfish reader
LucaMarconato Jun 16, 2024
1a35e7d
Merge branch 'main' into seqFISH_reader
LucaMarconato Jun 16, 2024
e4b8daa
fix pre-commit
LucaMarconato Jun 16, 2024
585f055
Merge pull request #53 from LLehner/seqFISH_reader
LucaMarconato Jun 16, 2024
a252a1f
Merge pull request #158 from scverse/fix_visium_hd_bins
LucaMarconato Jun 16, 2024
f3b57e8
fix outdated function
melonora Jun 22, 2024
b486c46
Merge pull request #163 from melonora/refactor
LucaMarconato Jun 24, 2024
1eacf74
fix iss experimental reader
LucaMarconato Jun 24, 2024
8c6e955
Merge pull request #164 from scverse/fix/iss
LucaMarconato Jun 24, 2024
bc821a3
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 1, 2024
fdd3ca0
changelog
LucaMarconato Jul 3, 2024
15856a3
fix precommit np.float_
LucaMarconato Jul 3, 2024
301ec08
Merge pull request #160 from scverse/pre-commit-ci-update-config
LucaMarconato Jul 3, 2024
4b21e5b
fix minimum spatialdata version
LucaMarconato Jul 5, 2024
214df32
added seqfish to readme
LucaMarconato Jul 9, 2024
bcf87a1
fix missing var from_legacy_anndata
LucaMarconato Jul 16, 2024
b07823b
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 22, 2024
b91102f
Merge pull request #175 from scverse/pre-commit-ci-update-config
LucaMarconato Jul 22, 2024
b2ca872
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 29, 2024
7ab6515
fix xenium default instances
LucaMarconato Jul 30, 2024
96c5a6f
improved docstring xenium
LucaMarconato Jul 30, 2024
09f6c60
fixed extent xenium test (because cells_as_circles is now False)
LucaMarconato Jul 30, 2024
db76c04
Merge pull request #179 from scverse/fix/xenium_radii
LucaMarconato Jul 30, 2024
51c1ed5
Update CHANGELOG.md
LucaMarconato Jul 31, 2024
ab83e40
Merge pull request #178 from scverse/pre-commit-ci-update-config
LucaMarconato Jul 31, 2024
eadc558
visium hd bins as squares
LucaMarconato Aug 1, 2024
7212d39
changelog
LucaMarconato Aug 1, 2024
c250e5c
Merge pull request #183 from scverse/fix/visium_hd_squares
LucaMarconato Aug 1, 2024
7f06d92
Merge pull request #172 from scverse/fix/from_legacy_anndata
LucaMarconato Aug 1, 2024
9d91a49
Add tifffile to project dependencies
Czaki Aug 1, 2024
71b7c51
Fix xenium default value and add deprecation warning
LucaMarconato Aug 1, 2024
e2b9b37
fix pre-commit
LucaMarconato Aug 1, 2024
e619cdf
fix xenium test; fix stacklevel
LucaMarconato Aug 1, 2024
9d2bddb
Merge pull request #185 from Czaki/add-tifffile
LucaMarconato Aug 1, 2024
aefa310
Merge pull request #186 from scverse/LucaMarconato/fix-xenium-default
LucaMarconato Aug 1, 2024
968e9ca
xenium fix area circles
LucaMarconato Aug 1, 2024
6813109
Update README.md
LucaMarconato Aug 1, 2024
3de93ff
Merge pull request #187 from scverse/disclaimer
LucaMarconato Aug 2, 2024
2751a6b
fix typos readme
LucaMarconato Aug 2, 2024
756164a
Update README.md
LucaMarconato Aug 2, 2024
ce0d21c
disallow points with zero lenght cosmx
LucaMarconato Aug 6, 2024
24091e2
Merge pull request #191 from scverse/fix/points_zero_len_cosmx
LucaMarconato Aug 6, 2024
e4d952b
Update CHANGELOG.md
LucaMarconato Aug 6, 2024
144f759
changelog
LucaMarconato Aug 7, 2024
dd98175
added dims paramter to xenium_aligned_image()
LucaMarconato Aug 12, 2024
413273f
changelog
LucaMarconato Aug 12, 2024
2c7420c
Merge pull request #196 from scverse/fix/xenium_aligned_image
LucaMarconato Aug 12, 2024
96630ea
fix for old visium data (<2.x) with header in tissue positions file (…
LucaMarconato Aug 16, 2024
57fa20d
Merge pull request #200 from scverse/fix/visium_old_data_with_header
LucaMarconato Aug 16, 2024
f4b39fc
add minimum spaitaldata version
LucaMarconato Sep 8, 2024
fe1d913
Merge branch 'main' into rgb-argument
LucaMarconato Sep 8, 2024
348881e
changelog
LucaMarconato Sep 8, 2024
896aea7
fix precommit
LucaMarconato Sep 8, 2024
2f44b99
Merge pull request #78 from aeisenbarth/rgb-argument
LucaMarconato Sep 8, 2024
15de100
adjust for crc2 dataset
melonora Sep 8, 2024
57e7805
Merge branch 'main' into fix_visiumhd
melonora Sep 8, 2024
6530f8f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 8, 2024
7f09a82
remove spatial from keys
melonora Sep 8, 2024
91a188b
Merge branch 'fix_visiumhd' of https://github.com/melonora/spatialdat…
melonora Sep 8, 2024
5094a2f
raise error when image not found
melonora Sep 8, 2024
c26fc4f
check shapes
melonora Sep 9, 2024
7de7681
Merge pull request #204 from melonora/fix_visiumhd
melonora Sep 9, 2024
9cfead3
change error in warning
melonora Sep 11, 2024
15f8f68
remove invalid polygons
ckmah Sep 17, 2024
26effaa
Merge pull request #206 from melonora/fix_oserror
LucaMarconato Sep 18, 2024
1a99758
create rgb images for visiumhd
melonora Sep 23, 2024
ceb8b32
adjust argument to rgb and change changelog
melonora Sep 23, 2024
a69b7c9
Merge pull request #209 from melonora/add_rgb_visiumhd
LucaMarconato Sep 24, 2024
1289ed5
MERSCOPE: adding feature_key attribute for points
quentinblampey Sep 24, 2024
f199cda
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 24, 2024
033b0a0
Update CHANGELOG.md
LucaMarconato Sep 25, 2024
76c591f
fix path bug visium hd
LucaMarconato Sep 25, 2024
941465a
visium hd annotate by labels
ArneDefauw Sep 26, 2024
af74101
update docs
ArneDefauw Sep 26, 2024
e38a7aa
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 26, 2024
53e4edd
fixed changelog
LucaMarconato Sep 26, 2024
3388beb
Merge branch 'main' into merscope_feature_key
LucaMarconato Sep 26, 2024
4d557c8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 26, 2024
fd5627a
Merge pull request #210 from quentinblampey/merscope_feature_key
LucaMarconato Sep 26, 2024
49b5422
fix visium hd: get transformation matrices only if images are parsed
LucaMarconato Oct 2, 2024
1e468d9
Requiring spatialdata>=0.2.3 in pyproject.toml
LucaMarconato Oct 3, 2024
55ef92c
add cleaned macsima reader
berombau Oct 21, 2024
ae41809
Merge remote-tracking branch 'origin/main' into macsima-reader
berombau Oct 21, 2024
e001548
add ome-types
berombau Oct 22, 2024
47d651d
refactor to MultiChannelImage, add parameter include_cycle_in_channel…
berombau Oct 22, 2024
601a122
update seqfish reader
LLehner Oct 24, 2024
044ab9d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 24, 2024
38df2aa
Merge pull request #215 from scverse/fix/no_transformations_visium_hd
LucaMarconato Oct 30, 2024
716d124
changelog
LucaMarconato Oct 30, 2024
35232d0
detect full res image when path is relative
quentinblampey Oct 31, 2024
54c634d
update datatree from xarray
melonora Nov 5, 2024
6cc60b8
update python version
melonora Nov 12, 2024
a7cde00
update pre-commit config
melonora Nov 12, 2024
233946a
Update prefixes; Add scalefactors
Nov 12, 2024
d9ec1f5
Remove unused code
Nov 12, 2024
afd93ef
Add required dependencies for DVP readers as optional installations
lucas-diedrich Nov 23, 2024
e0b47e9
Add WSI reader module
lucas-diedrich Nov 23, 2024
080a221
Fix installation bug
lucas-diedrich Nov 23, 2024
db9fba3
Initial wsi reader
lucas-diedrich Nov 24, 2024
2c12cc6
Debugged
lucas-diedrich Nov 24, 2024
75b64ba
Debugged
lucas-diedrich Nov 24, 2024
3a8ea42
Updated docstring
lucas-diedrich Nov 24, 2024
54e57ed
Added tests
lucas-diedrich Nov 25, 2024
8be60e4
Updated test files
lucas-diedrich Nov 25, 2024
82adbe1
Added tests
lucas-diedrich Nov 25, 2024
553d78f
Updated docstrings and type hints
lucas-diedrich Nov 25, 2024
cf1ee80
Updated docstrings and type hints
lucas-diedrich Nov 25, 2024
04a53b0
Debugging row/col location, make tests more robust by explicitly tran…
lucas-diedrich Nov 25, 2024
dc8af31
Setup czi reader
lucas-diedrich Nov 25, 2024
5e3df85
Moved general utility functions to _utils.py, created factory method …
lucas-diedrich Nov 25, 2024
5e34944
Renamed test
lucas-diedrich Nov 25, 2024
8607775
Debugged, corrected row/col definitions and order in which the nested…
lucas-diedrich Nov 26, 2024
8888cb9
Added tests for utils function
lucas-diedrich Nov 26, 2024
11dbddc
Updated and verified data-specific tests
lucas-diedrich Nov 26, 2024
9f73000
Support multichannel grayscale images
lucas-diedrich Nov 26, 2024
94371d3
Added tests for multichannel images
lucas-diedrich Nov 26, 2024
5311fd0
Fixed error due to delayed attribute of test_chunk_factory
lucas-diedrich Nov 26, 2024
6f439a5
Merge branch 'wsi_reader' into readers
lucas-diedrich Nov 26, 2024
4896e5d
Refactored read_wsi to leverage shared properties with read_czi
lucas-diedrich Nov 26, 2024
3206966
Updated tests to accomodate changes, removed redundant tests
lucas-diedrich Nov 26, 2024
5bd60bf
Make _read_img delayed
lucas-diedrich Nov 26, 2024
4f575e9
Renamed read_wsi to read_openslide
lucas-diedrich Nov 26, 2024
2ace6ee
Renamed read_wsi to read_openslide
lucas-diedrich Nov 26, 2024
e4dc4cd
Removed no longer relevant tests
lucas-diedrich Nov 26, 2024
7ac8937
Update recommendations regarding .czi file format
lucas-diedrich Nov 26, 2024
124c10a
python >= 3.10 in tests
LucaMarconato Nov 26, 2024
2e832e5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 26, 2024
db35663
remove unused types
melonora Nov 26, 2024
6dda98f
Merge branch 'xarray_datatree' of https://github.com/melonora/spatial…
melonora Nov 26, 2024
f80bc3c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 26, 2024
512e299
remove unused imports
melonora Nov 26, 2024
883cd02
Merge branch 'xarray_datatree' of https://github.com/melonora/spatial…
melonora Nov 26, 2024
83e71c6
Added test data to github CI/CD and adjusted paths
lucas-diedrich Nov 26, 2024
52d388e
ignore flake8
melonora Nov 26, 2024
b92074c
Fixed issues with workflow
lucas-diedrich Nov 26, 2024
3d74434
fix docs
LucaMarconato Nov 26, 2024
a571681
fix docs; attempt 2
LucaMarconato Nov 26, 2024
ed60d9f
fix test xenium
LucaMarconato Nov 26, 2024
8a41c13
Merge pull request #232 from melonora/xarray_datatree
LucaMarconato Nov 26, 2024
ea6797d
changelog and min spatialdata dep
LucaMarconato Nov 26, 2024
137fce7
Merge branch 'main' of https://github.com/scverse/spatialdata-io into…
ArneDefauw Nov 27, 2024
ecd619b
Merge branch 'main' into dvp_image_readers
lucas-diedrich Nov 27, 2024
318f3fb
Add DVP as optional dependency
lucas-diedrich Nov 27, 2024
2d185ca
Updated workflow test data
lucas-diedrich Nov 27, 2024
2364e9a
Updated workflow test data
lucas-diedrich Nov 27, 2024
1fda965
Install experimental DVP dependencies for tests
lucas-diedrich Nov 27, 2024
92bb1a2
FIX update paths in tests
lucas-diedrich Nov 27, 2024
d224c21
FIX udpate paths in tests
lucas-diedrich Nov 27, 2024
be769b1
Updated paths
lucas-diedrich Nov 27, 2024
148466d
set transformation to global for both hires and lowres
quentinblampey Nov 28, 2024
a23c7b3
Merge branch 'main' into visium_hd_relative_path
LucaMarconato Nov 29, 2024
b08eb59
lowres and hires images mapped to global also for Visium
LucaMarconato Nov 29, 2024
82ff327
Merge pull request #230 from quentinblampey/visium_hd_relative_path
LucaMarconato Nov 29, 2024
df80497
Update README.md
LucaMarconato Dec 6, 2024
db91898
Merge pull request #246 from scverse/LucaMarconato-patch-1
LucaMarconato Dec 6, 2024
d505d58
Merge branch 'scverse:main' into macsima-reader
berombau Dec 6, 2024
995a2bd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 6, 2024
e234172
add docs
berombau Dec 6, 2024
914d2b7
Update src/spatialdata_io/readers/_utils/_utils.py
LucaMarconato Dec 6, 2024
0b63185
fix sorting
berombau Dec 6, 2024
f609882
first set of fixes during code review
LucaMarconato Dec 6, 2024
b7f9a47
Merge branch 'macsima-reader' of https://github.com/berombau/spatiald…
LucaMarconato Dec 6, 2024
c09f329
add test for skip_rounds
berombau Dec 6, 2024
18ca4a6
Merge branch 'macsima-reader' of https://github.com/berombau/spatiald…
berombau Dec 6, 2024
d4fffec
finished code review
LucaMarconato Dec 6, 2024
bbc141f
Merge branch 'macsima-reader' of https://github.com/berombau/spatiald…
LucaMarconato Dec 6, 2024
57e784b
fixed pre-commit
LucaMarconato Dec 6, 2024
0bcd47f
add test for array reference
berombau Dec 6, 2024
da30404
removed subset_channels
LucaMarconato Dec 6, 2024
becad12
fix
LucaMarconato Dec 6, 2024
c4f6cf7
added todo for regexp approach
LucaMarconato Dec 6, 2024
5d537d6
Merge pull request #224 from berombau/macsima-reader
LucaMarconato Dec 6, 2024
ee1d801
Merge branch 'main' into update_seqfish
LucaMarconato Dec 10, 2024
c8fc779
rename variable
LucaMarconato Dec 10, 2024
5491545
new test datasets
LucaMarconato Dec 10, 2024
f309140
Correct channel coords so that each channel is correctely labeled (, …
lucas-diedrich Dec 10, 2024
d985a20
Corrected image channel coords so that each channel has unique name R…
lucas-diedrich Dec 10, 2024
a5e62c6
Added timepoint/z_stack support for czi reader
lucas-diedrich Dec 10, 2024
4c4793c
Corrected path
lucas-diedrich Dec 10, 2024
64f54f9
update test datasets
LucaMarconato Dec 11, 2024
4c92edd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 11, 2024
190c716
Merge pull request #248 from scverse/add-tests-datasets
LucaMarconato Dec 11, 2024
d38390d
Merge branch 'main' into update_seqfish
LucaMarconato Dec 11, 2024
f219088
fix scale factor labels; fix table
LucaMarconato Dec 11, 2024
ff14eed
before removing 'load_additional_shapes'
LucaMarconato Dec 12, 2024
a443469
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 12, 2024
375fa5c
finished code review
LucaMarconato Dec 12, 2024
ee87ea2
Merge branch 'update_seqfish' of https://github.com/scverse/spatialda…
LucaMarconato Dec 12, 2024
28b0eb3
tests for seqfish
LucaMarconato Dec 12, 2024
91efd45
fix seqfish test path
LucaMarconato Dec 12, 2024
96ad663
Merge pull request #227 from scverse/update_seqfish
LucaMarconato Dec 12, 2024
e9b74c0
Update CHANGELOG.md
LucaMarconato Dec 12, 2024
dcf4b39
Merge branch 'main' into visium_hd
LucaMarconato Dec 12, 2024
de95b89
minor docsting fix
LucaMarconato Dec 13, 2024
156b827
Merge branch 'main' of https://github.com/scverse/spatialdata-io into…
ArneDefauw Dec 16, 2024
97bb85c
Merge branch 'visium_hd' of https://github.com/ArneDefauw/spatialdata…
ArneDefauw Dec 16, 2024
8b44de3
annotate as labels
ArneDefauw Dec 16, 2024
c9616e3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 16, 2024
23d4cee
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Dec 23, 2024
75e41e2
wip
LucaMarconato Jan 2, 2025
1fead1f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 2, 2025
8c39936
restored old instance_key approach; code cleanup
LucaMarconato Jan 2, 2025
37deaef
Merge branch 'visium_hd' of https://github.com/ArneDefauw/spatialdata…
LucaMarconato Jan 2, 2025
179a042
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 2, 2025
6a0e5a7
fix typo
LucaMarconato Jan 2, 2025
261dbbb
Merge branch 'visium_hd' of https://github.com/ArneDefauw/spatialdata…
LucaMarconato Jan 2, 2025
147126d
Merge pull request #190 from scverse/pre-commit-ci-update-config
LucaMarconato Jan 2, 2025
681097d
Merge pull request #211 from ArneDefauw/visium_hd
LucaMarconato Jan 2, 2025
92dbde1
update changelog
LucaMarconato Jan 2, 2025
a29ecb4
improved release process
LucaMarconato Jan 3, 2025
2e15fff
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 3, 2025
75c70eb
added release.yml for automatic release note generation
LucaMarconato Jan 3, 2025
517ffcc
Merge branch 'improved-release-process' of https://github.com/scverse…
LucaMarconato Jan 3, 2025
c0792b0
Merge pull request #254 from scverse/improved-release-process
LucaMarconato Jan 3, 2025
d4b9c8c
Update README.md with: solutions to common problems
LucaMarconato Jan 4, 2025
a5dfb92
Merge pull request #207 from ckmah/main
LucaMarconato Jan 5, 2025
d86e0c2
[Test] Removed unused arguments
lucas-diedrich Jan 7, 2025
86819f3
[Fix] Fix incorrect construction of dask arrays that leads to memory …
lucas-diedrich Jan 7, 2025
e439f40
[Fix] Remove unnecessary call
lucas-diedrich Jan 7, 2025
a281ebf
[Fix] Adjust logic to account for fixes in delayed calls
lucas-diedrich Jan 7, 2025
de8de88
[Fix] Adjust logic to account for fixes in delayed calls
lucas-diedrich Jan 7, 2025
6deee23
Merge branch 'main' of https://github.com/scverse/spatialdata-io into…
lucas-diedrich Jan 7, 2025
886dacc
[CI/CD] Add test data
lucas-diedrich Jan 7, 2025
7dc113b
Removed unnecessary import
lucas-diedrich Jan 7, 2025
0f17fe2
[Tests] Update tests for chunk factory
lucas-diedrich Jan 7, 2025
6fa489f
[Test] Removed unnecessary arguments
lucas-diedrich Jan 7, 2025
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
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ ignore =
D400
# First line should be in imperative mood; try rephrasing
D401
# Abstract base class without abstractmethod.
B024
exclude = .git,__pycache__,build,docs/_build,dist
per-file-ignores =
tests/*: D
Expand Down
22 changes: 22 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
changelog:
exclude:
labels:
- release-ignore
authors:
- pre-commit-ci
categories:
- title: Major
labels:
- "release-major"
- title: Minor
labels:
- "release-minor"
- title: Changed
labels:
- "release-changed"
- title: Fixed
labels:
- "release-fixed"
- title: Other Changes
labels:
- "*"
23 changes: 0 additions & 23 deletions .github/workflows/build.yaml

This file was deleted.

23 changes: 19 additions & 4 deletions .github/workflows/prepare_test_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,30 @@ jobs:
run: |
mkdir -p ./data
cd ./data

# 10x Genomics Xenium 2.0.0
curl -O https://cf.10xgenomics.com/samples/xenium/2.0.0/Xenium_V1_human_Breast_2fov/Xenium_V1_human_Breast_2fov_outs.zip
curl -O https://cf.10xgenomics.com/samples/xenium/2.0.0/Xenium_V1_human_Lung_2fov/Xenium_V1_human_Lung_2fov_outs.zip

# 10x Genomics Xenium 3.0.0 (5K) Mouse ileum, multimodal cell segmentation
# this file seems to be corrupted; skipping it for now
# curl -O https://cf.10xgenomics.com/samples/xenium/3.0.0/Xenium_Prime_MultiCellSeg_Mouse_Ileum_tiny/Xenium_Prime_MultiCellSeg_Mouse_Ileum_tiny.zip

# 10x Genomics Xenium 3.0.0 (5K) Mouse ileum, nuclear expansion
curl -O https://cf.10xgenomics.com/samples/xenium/3.0.0/Xenium_Prime_Mouse_Ileum_tiny/Xenium_Prime_Mouse_Ileum_tiny_outs.zip

# Spatial Genomics seqFISH v2
curl -O https://s3.embl.de/spatialdata/raw_data/seqfish-2-test-dataset.zip

- name: Unzip files
run: |
unzip ./data/Xenium_V1_human_Breast_2fov_outs.zip -d ./data/Xenium_V1_human_Breast_2fov_outs
unzip ./data/Xenium_V1_human_Lung_2fov_outs.zip -d ./data/Xenium_V1_human_Lung_2fov_outs
rm ./data/Xenium_V1_human_Breast_2fov_outs.zip
rm ./data/Xenium_V1_human_Lung_2fov_outs.zip
cd ./data
for file in *.zip; do
dir="${file%.zip}"
mkdir -p "$dir"
unzip "$file" -d "$dir"
rm "$file"
done

- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ on:
types: [published]

jobs:
release:
# requires that you have put your twine API key in your
# github secrets (see readme for details)
package_and_release:
runs-on: ubuntu-latest
if: contains(github.ref, 'tags')
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python 3.10
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.10"

python-version: "3.12"
cache: pip
- name: Install build dependencies
run: python -m pip install --upgrade pip wheel twine build
- name: Build package
run: python -m build
- name: Check package
run: twine check --strict dist/*.whl
- name: Install hatch
run: pip install hatch

- name: Build project for distribution
run: hatch build

- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ["3.9", "3.10"]
python: ["3.10", "3.12"]
os: [ubuntu-latest]

env:
Expand Down Expand Up @@ -50,17 +50,19 @@ jobs:
- name: Install dependencies
run: |
pip install --pre -e ".[dev,test]"
- name: Install experimental dependencies
run: pip install --pre -e ".[dvp]"

- name: Download artifact of test data
if: matrix.python == '3.10'
if: matrix.python == '3.12'
uses: dawidd6/action-download-artifact@v2
with:
workflow: prepare_test_data.yaml
name: data
path: ./data

- name: List the data directory
if: matrix.python == '3.10'
if: matrix.python == '3.12'
run: |
ls -l ./data
pwd
Expand Down
2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.9
python_version = 3.10
plugins = numpy.typing.mypy_plugin

ignore_errors = False
Expand Down
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,28 @@ fail_fast: false
default_language_version:
python: python3
default_stages:
- commit
- push
- pre-commit
- pre-push
minimum_pre_commit_version: 2.16.0
repos:
- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
- repo: https://github.com/asottile/blacken-docs
rev: 1.18.0
rev: 1.19.1
hooks:
- id: blacken-docs
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.0
rev: v1.14.0
hooks:
- id: mypy
additional_dependencies: [numpy, types-PyYAML]
Expand All @@ -40,7 +40,7 @@ repos:
- flake8-bugbear
- flake8-blind-except
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: detect-private-key
- id: check-ast
Expand All @@ -59,7 +59,7 @@ repos:
- --remove-unused-variable
- --ignore-init-module-imports
- repo: https://github.com/PyCQA/flake8
rev: 7.1.0
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -70,10 +70,10 @@ repos:
- flake8-bugbear
- flake8-blind-except
- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py3-plus, --py39-plus, --keep-runtime-typing]
args: [--py3-plus, --py310-plus, --keep-runtime-typing]
- repo: local
hooks:
- id: forbid-to-commit
Expand All @@ -84,6 +84,6 @@ repos:
language: fail
files: '.*\.rej$'
- repo: https://github.com/PyCQA/doc8
rev: v1.1.1
rev: v1.1.2
hooks:
- id: doc8
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
python: "3.10"
sphinx:
configuration: docs/conf.py
fail_on_warning: true
Expand Down
Loading
Loading