qiime2 / q2-diversity

BSD 3-Clause "New" or "Revised" License
4 stars 45 forks source link

BUG: alpha-correlation errors if metric name is also a metadata column #204

Open nbokulich opened 6 years ago

nbokulich commented 6 years ago

Proposed Behavior options:

  1. error with a better message (than only length-1 arrays can be converted to Python scalars 😆)
  2. force use of alpha div vector. possibly warn that a duplicate column exists.

Probably best to go with option 2. Probably not necessary to warn, either, since the alpha div vector is explicitly passed as input.

References forum xref

nbokulich commented 6 years ago

I suspect this same issue exists in alpha-group-significance but maybe not. worth checking.