From d87dad06d86b6874a8a167a7b346b5a26eda5af6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:41:20 +0200 Subject: [PATCH 1/2] CompatHelper: bump compat for SingleCellProjections in [weakdeps] to 0.4, (keep existing compat) (#4) --- Project.toml | 62 ++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Project.toml b/Project.toml index fa8298f..45ac26b 100644 --- a/Project.toml +++ b/Project.toml @@ -1,45 +1,45 @@ -name = "Sainsc" -uuid = "4c4340ea-7f9e-46b4-8512-61f1f6c41a11" +name = "Sainsc" +uuid = "4c4340ea-7f9e-46b4-8512-61f1f6c41a11" authors = ["Niklas Müller-Bötticher "] version = "0.1.0" [deps] -BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e" -CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" +BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e" +CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" -DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" -ImageFiltering = "6a3955dd-da59-5b1f-98d4-e7296123deb5" -LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" -OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" -PooledArrays = "2dfb63ee-cc39-5dd5-95bd-886bf059d720" -SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" -Unzip = "41fe7b60-77ed-43a1-b4f0-825fd5a5650d" +DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" +ImageFiltering = "6a3955dd-da59-5b1f-98d4-e7296123deb5" +LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" +OffsetArrays = "6fe1bfb0-de20-5000-8ca7-80f57d26f881" +PooledArrays = "2dfb63ee-cc39-5dd5-95bd-886bf059d720" +SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" +Unzip = "41fe7b60-77ed-43a1-b4f0-825fd5a5650d" [weakdeps] AutomaticSingleCellToolbox = "e6202555-39b2-4a04-a024-3007b9347e88" -CellScopes = "708d50d9-0a30-4b01-8594-5d83c0e43023" -Muon = "446846d7-b4ce-489d-bf74-72da18fe3629" -SingleCellProjections = "03d38035-ed2f-4a36-82eb-797f1727ab2e" +CellScopes = "708d50d9-0a30-4b01-8594-5d83c0e43023" +Muon = "446846d7-b4ce-489d-bf74-72da18fe3629" +SingleCellProjections = "03d38035-ed2f-4a36-82eb-797f1727ab2e" [extensions] -AnnDataExt = "Muon" +AnnDataExt = "Muon" AutomaticSingleCellToolboxExt = "AutomaticSingleCellToolbox" -CellScopesExt = "CellScopes" -SingleCellProjectionsExt = "SingleCellProjections" +CellScopesExt = "CellScopes" +SingleCellProjectionsExt = "SingleCellProjections" [compat] AutomaticSingleCellToolbox = "0.9" -BlockArrays = "0.16,1" -CSV = "0.10" -CategoricalArrays = "0.9,0.10" -CellScopes = "1" -DataFrames = "1" -ImageFiltering = "0.7" -LinearAlgebra = "1" -Muon = "0.2" -OffsetArrays = "1.11" -PooledArrays = "1" -SparseArrays = "1" -SingleCellProjections = "0.3" -Unzip = "0.2" -julia = "1.9" +BlockArrays = "0.16, 1" +CSV = "0.10" +CategoricalArrays = "0.9, 0.10" +CellScopes = "1" +DataFrames = "1" +ImageFiltering = "0.7" +LinearAlgebra = "1" +Muon = "0.2" +OffsetArrays = "1.11" +PooledArrays = "1" +SingleCellProjections = "0.3, 0.4" +SparseArrays = "1" +Unzip = "0.2" +julia = "1.9" From e45efb1dc84a5730dabbadd68d3e3bf9575c7d3b Mon Sep 17 00:00:00 2001 From: niklasmueboe <42138117+niklasmueboe@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:55:52 +0200 Subject: [PATCH 2/2] CI badge and SingleCellProjections fix (#5) * CI badge * fix SingleCellProjections extension --- README.md | 1 + ext/SingleCellProjectionsExt.jl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 911b99e..fe7e5b0 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://niklasmueboe.github.io/Sainsc.jl/dev) [![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/invenia/BlueStyle) [![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl) +[![CI](https://github.com/niklasmueboe/Sainsc.jl/workflows/CI/badge.svg)](https://github.com/niklasmueboe/Sainsc.jl/actions?query=workflows/CI) /ˈsaiəns/ diff --git a/ext/SingleCellProjectionsExt.jl b/ext/SingleCellProjectionsExt.jl index a3aa034..07e0d87 100644 --- a/ext/SingleCellProjectionsExt.jl +++ b/ext/SingleCellProjectionsExt.jl @@ -5,11 +5,11 @@ using SingleCellProjections: DataMatrix using Sainsc function Sainsc.getlocalmaxima(::Type{DataMatrix}, counts, localmax, kernel; genes=nothing) - return DataMatrix(getlocalmaxima(counts, localmax, kernel; genes=genes)) + return DataMatrix(getlocalmaxima(counts, localmax, kernel; genes=genes)...) end function Sainsc.readstereoseqbinned(::Type{DataMatrix}, file, binsize::Integer) - return DataMatrix(readstereoseqbinned(file, binsize)) + return DataMatrix(readstereoseqbinned(file, binsize)...) end end # module SingleCellProjectionsExt