Skip to content

Commit

Permalink
Merge pull request #7 from niklasmueboe/dev
Browse files Browse the repository at this point in the history
fix format
  • Loading branch information
niklasmueboe authored Jun 24, 2024
2 parents e45efb1 + e52a155 commit 45d0a03
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/src/examples/ExampleAnalysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@ highly variable genes that can be used for analysis. We again here demonstrate i
`Muon.AnnData`.
=#

adata = readstereoseqbinned(AnnData, stereoseq_file, 50)
adata = readstereoseqbinned(AnnData, stereoseq_file, 50)
2 changes: 1 addition & 1 deletion src/GridCount.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ function totalrna(counts)
return sparse((reduce(vcat, i) for i in (x, y, v))..., gridsize(counts)...)
end

end # module GridCount
end # module GridCount
2 changes: 1 addition & 1 deletion src/IO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ function readstereoseqbinned(file, binsize::Integer)
)
end

end # module IO
end # module IO
2 changes: 1 addition & 1 deletion src/KDE.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,4 @@ function assigncelltype(counts, signatures, kernel; celltypes=nothing, log=false
return celltypemap, cosine
end

end # module KDE
end # module KDE
2 changes: 1 addition & 1 deletion src/LocalMax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ function getlocalmaxima(counts, localmax, kernel; genes=nothing)
)
end

end # module LocalMax
end # module LocalMax
2 changes: 1 addition & 1 deletion src/Utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ end
stringcoordinates(x, y) = @. string(x) * "_" * string(y)
stringcoordinates(x...) = [join((string(j) for j in i), "_") for i in zip(x...)]

end # module Utils
end # module Utils
2 changes: 1 addition & 1 deletion test/kde.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ end
coords = map(CartesianIndex, [(1, 1), (2, 3), (2, 4)])

Sainsc.LocalMax.getkdeforcoordinates(counts, coords, kernel) == kdeatcoord
end
end
2 changes: 1 addition & 1 deletion test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ end
x, y = Int[0, 0, 1, 0, 1], Int[0, 1, 0, 0, 1]
@test Sainsc.Utils.categoricalcoordinates(x, y) ==
([1, 2, 3, 1, 4], ([0, 0, 1, 1], [0, 1, 0, 1]))
end
end

0 comments on commit 45d0a03

Please sign in to comment.