mirror of
https://github.com/MillironX/beefblup.git
synced 2024-12-22 00:58:17 +00:00
Bug fix for not calling propertynames
This commit is contained in:
parent
d4bb72c458
commit
683c48aa45
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue