Skip to content

Commit

Permalink
check inputs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Oct 9, 2024
1 parent d549a3d commit 5c12fec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/NMFkExecute.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 5c12fec

Please sign in to comment.