mirror of
https://github.com/MillironX/beefblup.git
synced 2024-11-14 03:23:09 +00:00
Qualify column deletion function
This commit is contained in:
parent
9b181d251c
commit
530258a2c8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue