Added plot interaction to the UI, improved boot loading, modified UI to accomodate for these changes

This commit is contained in:
Pixelguy14
2025-01-22 23:58:06 -06:00
parent bf50d0cb0c
commit 09e4a015e0
6 changed files with 641 additions and 445 deletions
+20 -6
View File
@@ -1,13 +1,25 @@
using Pkg
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("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.add("NativeFileDialog")
Pkg.add("StipplePlotly")
packages = [
"GenieFramework", "Libz", "PlotlyBase", "CairoMakie", "Colors",
"Statistics", "NaturalSort", "Genie",
"Images", "LinearAlgebra", "NativeFileDialog", "StipplePlotly"
]
# Check for missing packages
for pkg in packages
if !(pkg in keys(Pkg.dependencies()))
Pkg.add(pkg)
end
end
# Add library for mzML imzML from GitHub if missing
if !("julia_mzML_imzML" in keys(Pkg.dependencies()))
Pkg.add(url="https://github.com/CINVESTAV-LABI/julia_mzML_imzML")
end
using Genie
@@ -27,3 +39,5 @@ Genie.loadapp()
@async run(`start $url`) # For Windows
end
end
wait()