SUM spectrum now loads when loading mzML
This commit is contained in:
parent
e3e987f0cd
commit
e63f9e29e5
5
app.jl
5
app.jl
@ -286,6 +286,7 @@ include("./julia_imzML_visual.jl")
|
|||||||
msg="Loading SUM spectrum plot..."
|
msg="Loading SUM spectrum plot..."
|
||||||
sTime=time()
|
sTime=time()
|
||||||
plotdata, plotlayout, xSpectraMz, ySpectraMz=sumSpectrumPlot(full_routeMz)
|
plotdata, plotlayout, xSpectraMz, ySpectraMz=sumSpectrumPlot(full_routeMz)
|
||||||
|
selectedTab="tab2"
|
||||||
progressSpectraPlot=false
|
progressSpectraPlot=false
|
||||||
btnPlotDisable=false
|
btnPlotDisable=false
|
||||||
if endswith(full_route, "imzML")
|
if endswith(full_route, "imzML")
|
||||||
@ -406,7 +407,7 @@ include("./julia_imzML_visual.jl")
|
|||||||
else
|
else
|
||||||
msg="File does not exist or a parameter is incorrect, please try again."
|
msg="File does not exist or a parameter is incorrect, please try again."
|
||||||
warning_msg=true
|
warning_msg=true
|
||||||
end|
|
end
|
||||||
GC.gc() # Trigger garbage collection
|
GC.gc() # Trigger garbage collection
|
||||||
if Sys.islinux()
|
if Sys.islinux()
|
||||||
ccall(:malloc_trim, Int32, (Int32,), 0) # Ensure julia returns the freed memory to OS
|
ccall(:malloc_trim, Int32, (Int32,), 0) # Ensure julia returns the freed memory to OS
|
||||||
@ -414,12 +415,12 @@ include("./julia_imzML_visual.jl")
|
|||||||
btnStartDisable=false
|
btnStartDisable=false
|
||||||
btnPlotDisable=false
|
btnPlotDisable=false
|
||||||
btnOpticalDisable=false
|
btnOpticalDisable=false
|
||||||
|
progress=false
|
||||||
if isfile(full_routeMz)
|
if isfile(full_routeMz)
|
||||||
# We enable coord search and spectra plot creation
|
# We enable coord search and spectra plot creation
|
||||||
btnSpectraDisable=false
|
btnSpectraDisable=false
|
||||||
SpectraEnabled=true
|
SpectraEnabled=true
|
||||||
end
|
end
|
||||||
progress=false
|
|
||||||
end
|
end
|
||||||
|
|
||||||
@onbutton createSumPlot begin
|
@onbutton createSumPlot begin
|
||||||
|
|||||||
@ -7,7 +7,6 @@
|
|||||||
name.</h6>
|
name.</h6>
|
||||||
<h6>It may take a while to generate the image and the plot, please be patient.</h6>
|
<h6>It may take a while to generate the image and the plot, please be patient.</h6>
|
||||||
<h6>To generate the contour or surface plots, you have to select the desired image first using the interface.</h6>
|
<h6>To generate the contour or surface plots, you have to select the desired image first using the interface.</h6>
|
||||||
<h6>Syncro file is required to create imzML and ibd files.</h6>
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div id="extDivStyle" class="row col-12 q-pa-xl">
|
<div id="extDivStyle" class="row col-12 q-pa-xl">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user