Bug fix for not calling propertynames

develop
parent d4bb72c458
commit 683c48aa45
Signed by: millironx
GPG Key ID: 139C07724802BC5D

@ -195,6 +195,7 @@ function fixedeffectmatrix(fixedeffectdata::DataFrame)
push!(fixedeffects, FixedEffect(name, traits))
else
@warn string("column '", name, "' does not have any unique animals and will be dropped from analysis")
pname = propertynames(fixedeffectdata)[i]
DataFrames.select!(fixedeffectdata, Not(pname))
end
end

Loading…
Cancel
Save