Control: tag -1 confirmed
Control: tag -1 help

Hi Beatrice,

Thanks for reaching out via reportbug.  I confirm I could
reproduce a similar issue with some test dataset from the
package q2-quality-control:

        $ 
QZA_SAMPLE="/usr/lib/python3/dist-packages/q2_quality_control/tests/data/paired-end.qza"
        $ qiime demux summarize --i-data "$QZA_SAMPLE" --o-visualization 
demux.qzv
        /usr/lib/python3/dist-packages/skbio/util/_testing.py:15: 
FutureWarning: pandas.util.testing is deprecated. Use the functions in the 
public API at pandas.testing instead.
          import pandas.util.testing as pdt
        Plugin error from demux:
        
          [Errno 2] No such file or directory: 
'/usr/lib/python3/dist-packages/q2_demux/_summarize/assets/dist'
        
Said dist/ directory is not directly part of q2-demux itself,
but, given the content of the Makefile in the source code, is
obtained from "npm install" and "npm run build", which has to
make use of Internet resources.  A quick workaround which "works
for me" is to construct at least an empty directory named:

        /usr/lib/python3/dist-packages/q2_demux/_summarize/assets/dist

While this allows the command to produce the demux.qzv, it
misses the appropriate code for running the embedded interactive
quality plot, which one can obtain using the command afterwards:

        $ qiime tools view demux.qzv

I could solve this on my local installation, by copying the
resulting minified .js files below the dist/ directory, but
minified javascript is not eligible for being considered as
source code.  I'm not fluent at all with npm to be sure of my
fixes/workarounds yet, so would appreciate if someone with
npm/node experience could have a second look, and maybe advise.

Kind Regards,
-- 
Étienne Mollier <emoll...@emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.

Attachment: signature.asc
Description: PGP signature

Reply via email to