jasonsahl/LS-BSR

AssertionError: Tuples differ

haruosuz opened this issue · 1 comments

I tested LS-BSR as follows:

# -To create an environment and run through conda:

conda create -n ls_bsr python=3.5

conda activate ls_bsr

conda install -c bioconda blast vsearch cd-hit prodigal ucsc-blat diamond biopython mmseqs2

git clone https://github.com/jasonsahl/LS-BSR.git

cd LS-BSR/

chmod +x ls_bsr.py 

python setup.py install

# -To test the install:

python ls_bsr.py --version

# ls_bsr.py 1.2.2

(python tests/test_all_functions.py &) >& log.test_all_functions.$(date +%F).txt

As shown in attachment, running python tests/test_all_functions.py printed the following messages:

AssertionError: Tuples differ: ([], [], []) != ([[2]], [[2]], [[2]])
AssertionError: Tuples differ: ([], [], []) != ([[2]], [], [])
AssertionError: Tuples differ: ([], [], []) != ([], [], [[2]])
AssertionError: Tuples differ: ([], [], []) != ([], [[2]], [])
AssertionError: Tuples differ: ([], [], []) != ([[1]], [[1]], [[1]])

log.test_all_functions.2020-11-25.txt

This function is part of a post-processing script and should not affect the function of the overall pipeline. I will take another look at the function to make sure that I didn't affect the functionality.