Fixed small issues within the file load and the precompiler script, added a final test benchmark suit to compare old Julia MSI library with current
CI / Julia 1.10 - macOS-latest - x64 - (pull_request) Has been cancelled
CI / Julia 1.10 - ubuntu-latest - x64 - (pull_request) Has been cancelled
CI / Julia 1.10 - windows-latest - x64 - (pull_request) Has been cancelled

This commit is contained in:
Pixelguy14
2026-04-16 16:39:31 -06:00
parent 05cb79253f
commit 89de5a56e0
5 changed files with 231 additions and 22 deletions
+1 -6
View File
@@ -499,11 +499,6 @@ function load_imzml_lazy(file_path::String; cache_size::Int=100, use_mmap::Bool=
if use_mmap
try
file_size = filesize(ibd_path)
free_ram = Sys.free_memory()
if file_size > free_ram * 0.8
@warn "Dataset size ($(round(file_size/1e9, digits=2)) GB) exceeds 80% of free RAM. Mmap will still work via 'Streaming', but expect slight I/O overhead."
end
@debug "Memory mapping .ibd file..."
# We use the first handle for mmapping
@@ -773,7 +768,7 @@ function get_mz_slice(data::MSIData, mass::Real, tolerance::Real; mask_path::Uni
end
end
println("Populated $(results_count[]) pixels with intensity data")
#println("Populated $(results_count[]) pixels with intensity data")
replace!(slice_matrix, NaN => 0.0)
return slice_matrix
end