Add the conda env file for python2 dev environment#43
Add the conda env file for python2 dev environment#43abhi18av wants to merge 1 commit intobebatut:masterfrom biosharp-dotnet:feature/conda-environment
Conversation
|
I think the reason for failure for this test is simply because the Regarding the tests, here is the status. (enasearch_py2) Abhinavs-MacBook-Pro:enasearch eklavya$ make test
flake8 --exclude=.git,build --ignore=E501 .
py.test --cov=enasearch tests/
==================================================================================== test session starts ====================================================================================
platform darwin -- Python 2.7.15, pytest-3.2.2, py-1.8.1, pluggy-0.4.0
rootdir: /Users/eklavya/projects/code/ORG_biosharp_dotnet/enasearch, inifile:
plugins: cov-2.5.1
collected 30 items
tests/test_cli.py ...............
tests/test_enasearch.py ..F............
---------- coverage: platform darwin, python 2.7.15-final-0 ----------
Name Stmts Miss Cover
-------------------------------------------
enasearch/__init__.py 280 82 71%
enasearch/__main__.py 5 5 0%
enasearch/cli.py 185 2 99%
-------------------------------------------
TOTAL 470 89 81%
========================================================================================= FAILURES ==========================================================================================
_______________________________________________________________________________ test_get_search_result_number _______________________________________________________________________________
def test_get_search_result_number():
"""Test get_search_result_number function"""
nb = enasearch.get_search_result_number(
free_text_search=False,
query="tax_eq(10090)",
result="assembly",
need_check_result=True)
> assert nb == 19
E assert 21 == 19
tests/test_enasearch.py:41: AssertionError
=========================================================================== 1 failed, 29 passed in 721.32 seconds ===========================================================================
make: *** [test] Error 1
|
|
This |
|
Hi @abhi18av, Thanks a lot for your pull request and for using this tool 😄 I just got a baby so I do not know when I will have time to have a look at it. For the tests, you are probably right. They may need to be updated given changes on ENA. If you have some times to look at them, it would be awesome |
|
Hey @bebatut , first off congratulations 👶 👨👩👧 ! I completely understand about the priorities right now, no hurry here. Just wanted to tell you that I'd probably be upgrading the tool to be installable in |
Hi @bebatut,
First off, thanks for this package!
I was trying to find an automation tool for interacting with the ENA website and found this library. For now, I've created an
environment_py2.ymlviaconda envfor a consistent development environment.It includes all the packages and the their dependencies.