Quicker start for the app, better UI, More responsiveness, code cleaning, and more readability for the code

This commit is contained in:
Pixelguy14
2025-01-11 22:14:24 -06:00
parent d30b5d173b
commit 04f7a107da
14 changed files with 1288 additions and 1475 deletions
+15 -23
View File
@@ -1,36 +1,28 @@
# Julia_msi_GUI<br />
A Graphical User Interface for IMS in Julia: https://github.com/CINVESTAV-LABI/julia_mzML_imzML
## Local installation
1. Launch Julia
## Local Installation
1. Make sure you have Julia installed, if not, follow the next installation guide for [juliaup](https://github.com/JuliaLang/juliaup) (recommended) or [julia] (https://julialang.org/downloads/platform/)
2. Access the repository using this link:<br>
https://github.com/Pixelguy14/Julia_msi_GUI<br>
click "<b><> Code</b>" button then hit "<b>Download ZIP</b>"<br>
unzip the file in your desired location<br>
## Load User Interface
1. Launch Julia in your terminal using:
```
julia
```
2. set working directory to Julia_msi_GUI (this repository) code using
2. Set working directory to Julia_msi_GUI (this repository) code using:
```
cd("PathToRepository/Julia_msi_GUI-main")
```
3. Enter Pkg mode by pressing the close square bracket once Julia has been loaded: ** Mostrar imagen del modo pkg**
3. With the active directory being Julia_msi_GUI run the next script:
```
]
include("start_MSI_GUI.jl")
```
3. Install the following libraries
4. Alternatively, you can open a terminal in the path of the repository and run the command and skip the next step:
```
add Pkg Libz ; add https://github.com/CINVESTAV-LABI/julia_mzML_imzML ; add PlotlyBase ; add Statistics ; add CairoMakie ; add Colors ; add Genie
julia start_MSI_GUI.jl
```
## Load user interface
1. set working directory to Julia_msi_GUI (this repository) code using
```
cd("PathToRepository/Julia_msi_GUI-main")
```
2. In the Pkg mode (enter by pressing "]" once Julia is rining) enter:
```
activate .
```
3. Get out from Pkg mode by pressing the backspace key and enter next line:
```
using Genie ; Genie.loadapp() ; up()
```
6. After the package is loaded, open the port generated by Genie to access the GUI by pressing cmd (macOS) or ctrl (Linux/Windows) in the http:// direction, as shown in the figure.
![Open Julia](https://github.com/user-attachments/assets/37e191d7-635d-458f-a1cd-719e2964594f)
5. After the script has finished loading, it should open a page in your browser with the web app running.