fixed genie package install

This commit is contained in:
Pixelguy14 2025-01-15 11:38:49 -06:00
parent 645d569f03
commit e3cd15157e
4 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
julia_version = "1.11.2"
manifest_format = "2.0"
project_hash = "d3959b0c3a38b987e17c2e3e73afbe28669615d7"
project_hash = "0eb77e47b715b07e9286c9a5bb8575a4c2a4963c"
[[deps.AbstractFFTs]]
deps = ["LinearAlgebra"]
@ -2596,9 +2596,9 @@ version = "1.6.45+1"
[[deps.libsixel_jll]]
deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "libpng_jll"]
git-tree-sha1 = "bf6bb896bd59692d1074fd69af0e5a1b64e64d5e"
git-tree-sha1 = "c1733e347283df07689d71d61e14be986e49e47a"
uuid = "075b6546-f08a-558a-be8f-8157d0f608a5"
version = "1.10.4+1"
version = "1.10.5+0"
[[deps.libvorbis_jll]]
deps = ["Artifacts", "JLLWrappers", "Libdl", "Ogg_jll", "Pkg"]

View File

@ -1,6 +1,7 @@
[deps]
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Genie = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
GenieFramework = "a59fdf5c-6bf0-4f5d-949c-a137c9e2f353"
Images = "916415d5-f1e6-5110-898d-aaa5f9f070e0"
Libz = "2ec943e9-cfe8-584d-b93d-64dcb6d567b7"

4
app.jl
View File

@ -438,7 +438,7 @@ end
elevation = Float32.(Array(img_gray)) ./ 255.0 # Normalize between 0 and 1
#println("Elevation size:", size(elevation))
# Smooth the image
sigma = 4.0
sigma = 1.0
kernel = Kernel.gaussian(sigma)
#println(size(kernel))
elevation_smoothed = imfilter(elevation, kernel)
@ -455,7 +455,7 @@ end
x_nticks = min(20, length(x))
y_nticks = min(20, length(y))
z_nticks = 5
aspect_ratio = attr(x = 1, y = length(y) / length(x), z = 0.5)
aspect_ratio = attr(x = 1, y = length(y) / length(x), z = 1)
# Define the layout for the 3D plot
layout3D = PlotlyBase.Layout(

View File

@ -3,7 +3,7 @@ Pkg.activate(".")
Pkg.instantiate()
Pkg.update()
Pkg.gc()
Pkg.add("Libz") ; Pkg.add("PlotlyBase") ; Pkg.add("CairoMakie") ; Pkg.add("Colors") ; Pkg.add("Statistics") ; Pkg.add("NaturalSort") ; Pkg.add("GenieFramework")
Pkg.add("Libz") ; Pkg.add("PlotlyBase") ; Pkg.add("CairoMakie") ; Pkg.add("Colors") ; Pkg.add("Statistics") ; Pkg.add("NaturalSort") ; Pkg.add("GenieFramework") ;Pkg.add("Genie")
Pkg.add(url="https://github.com/CINVESTAV-LABI/julia_mzML_imzML") # With this we ensure it uses the latest library iteration
Pkg.add("Images") ; Pkg.add("LinearAlgebra")
Pkg.instantiate()