1
0
Fork 0
mirror of https://github.com/MillironX/beefblup.git synced 2024-12-22 09:08:16 +00:00

Bug fix for not calling propertynames

This commit is contained in:
Thomas A. Christensen II 2021-08-31 19:46:02 -05:00
parent d4bb72c458
commit 683c48aa45
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -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