From e3cd15157e6dc16a4e041442b49e5b5c98b88a09 Mon Sep 17 00:00:00 2001 From: Pixelguy14 Date: Wed, 15 Jan 2025 11:38:49 -0600 Subject: [PATCH] fixed genie package install --- Manifest.toml | 6 +++--- Project.toml | 1 + app.jl | 4 ++-- start_MSI_GUI.jl | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Manifest.toml b/Manifest.toml index 889fab1..45acc6f 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -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"] diff --git a/Project.toml b/Project.toml index 607ce84..6d2d0fc 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/app.jl b/app.jl index bde7bb0..1b4d040 100644 --- a/app.jl +++ b/app.jl @@ -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( diff --git a/start_MSI_GUI.jl b/start_MSI_GUI.jl index 8490a2f..1ad03d7 100644 --- a/start_MSI_GUI.jl +++ b/start_MSI_GUI.jl @@ -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()