Closed johnchase closed 5 years ago
Ugh, bummer, good catch @johnchase. Stay tuned...
We are going to patch this and push up a 2019.4.1 version of q2-demux, hopefully later today (I am working on patch now). I am planning on updating the golay-disabled branch to write out the same barcode correction info, sans the last two columns (well, the columns will be there, just empty).
The patched version of this plugin is now available in the 2019.4 environments. Thanks @johnchase!
emp_single fails when the
ec_details
list is empty. This looks to be the case whengolay_error_correction=False
becauseec_details
will not be appended. Inemp_single
if thedetails
data frame that is returned by the function is empty the transformer that converts the dataframe toErrorCorrectionDetailsFmt
fails withValueError: Metadata must contain at least one ID.
If the
details
dataframe on this line is empty: https://github.com/qiime2/q2-demux/blob/9d4d4f6860c7922ed3d1e8959f3678bd5a3908b0/q2_demux/_demux.py#L347The output type of
emp_single
is an empty dataframe. When the transformer is called to convert this toErrorCorrectionDetailsFmt
it fails