[Debian-med-packaging] Bug#991208: Bug#991208: q2-demux: dist missing from q2_demux/_summarize/assets/ directory

Étienne Mollier emollier at emlwks999.eu
Sun Jul 18 20:30:21 BST 2021


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 <emollier at emlwks999.eu>
Fingerprint:  8f91 b227 c7d6 f2b1 948c  8236 793c f67e 8f0d 11da
Sent from /dev/pts/2, please excuse my verbosity.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20210718/95659c5b/attachment-0001.sig>


More information about the Debian-med-packaging mailing list