From 5c12fecbae5ee6d05446dc8ef89313dab57ae4a6 Mon Sep 17 00:00:00 2001 From: "Velimir (monty) Vesselinov" Date: Wed, 9 Oct 2024 12:05:58 -0600 Subject: [PATCH] check inputs fix --- src/NMFkExecute.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NMFkExecute.jl b/src/NMFkExecute.jl index ff00823..0b68440 100644 --- a/src/NMFkExecute.jl +++ b/src/NMFkExecute.jl @@ -110,7 +110,9 @@ function execute(X::AbstractArray{T,N}, nk::Integer, nNMF::Integer=10; clusterWm else runflag = true end - check_inputs && (load, save, casefilename, mixture, method, algorithm, clusterWmatrix = input_checks(X, load, save, casefilename, mixture, method, algorithm, clusterWmatrix)) + if check_inputs + load, save, casefilename, mixture, method, algorithm, clusterWmatrix = input_checks(X, load, save, casefilename, mixture, method, algorithm, clusterWmatrix) + end print("$(Base.text_colors[:cyan])$(Base.text_colors[:bold])NMFk run with $(nk) signals: $(Base.text_colors[:normal])") if load filename = joinpathcheck(resultdir, "$casefilename-$nk-$nNMF.jld")