rqtl / qtl2

QTL analysis software for high-dimensional data and complex cross designs
https://kbroman.org/qtl2
GNU General Public License v3.0
34 stars 23 forks source link

Odd warning in read_cross2 #209

Closed kbroman closed 1 year ago

kbroman commented 2 years ago

In reading some DOF1 data (see here) got the following odd warning message:

In read_cross2("cross.json", quiet = FALSE) :
   length(alleles) [8] != expected number [8]

I think the alleles object gets corrected and then its length calculated in this warning, so the length shown isn't what was there. (In the JSON file, the alleles object had length two. Changing it to length 8 made the warning go away.