From 530258a2c81f6b235d46027409b9b66145a2f225 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Sat, 19 Jun 2021 11:07:13 -0500 Subject: [PATCH] Qualify column deletion function --- src/BeefBLUP.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BeefBLUP.jl b/src/BeefBLUP.jl index e05c33b..6e9df8d 100755 --- a/src/BeefBLUP.jl +++ b/src/BeefBLUP.jl @@ -75,7 +75,7 @@ fixedfx = select(data, Not([:id, :birthdate, :sire, :dam]))[:,1:end-1] for i in 1:ncol(fixedfx) if length(unique(fixedfx[:,i])) <= 1 @warn string("column '", names(fixedfx)[i], "' does not have any unique animals and will be removed from this analysis") - select!(fixedfx,Not(i)) + DataFrames.select!(fixedfx,Not(i)) end end