jasonsahl / wgfast

Whole genome focused array SNP typer
13 stars 5 forks source link

Installation test fail #7

Open sadelbe opened 4 years ago

sadelbe commented 4 years ago

When I try running the installation tests, all tests are failing. It appears that I have all of the necessary dependancies. Do you know why this is happening? Below is the response I get to running the test.

$python tests/test_all_functions.py ............FF..sample_name insertion_likelihood number of potential insertion nodes ECOLI 0.298716 3 ....................FFF

FAIL: test_find_used_snps_all_missing (main.Test17)

Traceback (most recent call last): File "tests/test_all_functions.py", line 317, in test_find_used_snps_all_missing AssertionError: {'testfile': 3} != {'testfile': 0}

====================================================================== FAIL: test_find_used_snps_basic (main.Test17)

Traceback (most recent call last): File "tests/test_all_functions.py", line 305, in test_find_used_snps_basic AssertionError: {'testfile': 3} != {'testfile': 2}

====================================================================== FAIL: test_make_temp_matrix_basic_function (main.Test8)

Traceback (most recent call last): File "tests/test_all_functions.py", line 117, in test_make_temp_matrix_basic_function self.assertEqual(make_temp_matrix(vpath,fpath,"test"), {'ADK::1': 'G', 'ADK::2': '-', 'ADK::3': '-'}) AssertionError: {'ADK::3': 'N', 'ADK::2': 'N', 'ADK::1': 'G'} != {'ADK::3': '-', 'ADK::2': '-', 'ADK::1': 'G'}

====================================================================== FAIL: test_make_temp_matrix_no_matches (main.Test8)

Traceback (most recent call last): File "tests/test_all_functions.py", line 132, in test_make_temp_matrix_no_matches self.assertEqual(make_temp_matrix(vpath,fpath,"test"), {'ADK::1': '-', 'ADK::2': '-', 'ADK::3': '-', 'ADK::6': 'A'}) AssertionError: {'ADK::3': 'N', 'ADK::2': 'N', 'ADK::6': 'A', 'ADK::1': 'N'} != {'ADK::3': '-', 'ADK::2': '-', 'ADK::6': 'A', 'ADK::1': '-'}

====================================================================== FAIL: test_grab_names_basic_function (main.Test9)

Traceback (most recent call last): File "tests/test_all_functions.py", line 145, in test_grab_names_basic_function AssertionError: Lists differ: ['test', 'name_1'] != ['name_1', 'test']

First differing element 0: 'test' 'name_1'


Ran 39 tests in 0.095s

FAILED (failures=5)