Open aaadeg opened 2 years ago
Hi! It looks like there's an issue finding the output files that should have been generated by FishTaco when the tests were run. Are you able to share all of the output generated by the test script? It looks like this may just be the errors, but the test script should have printed other messages as well while it was running. If nothing else was printed, then there may be other issues.
error while running test_fishtaco.py
Traceback (most recent call last): File "/root/anaconda3/lib/python3.9/site-packages/FishTaco-1.1.1-py3.9.egg/EGG-INFO/scripts/test_fishtaco.py", line 342, in test_is_output_correct_for_fishtaco_de_novo_inference with open("fishtaco_out_de_novo_inf_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_de_novo_inf_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
Traceback (most recent call last): File "/root/anaconda3/lib/python3.9/site-packages/FishTaco-1.1.1-py3.9.egg/EGG-INFO/scripts/test_fishtaco.py", line 456, in test_is_output_correct_for_fishtaco_filtering_by_function_list with open("fishtaco_out_filtering_by_function_list_STAT_run_log_SCORE" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_filtering_by_function_list_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
Traceback (most recent call last): File "/root/anaconda3/lib/python3.9/site-packages/FishTaco-1.1.1-py3.9.egg/EGG-INFO/scripts/test_fishtaco.py", line 227, in test_is_output_correct_for_fishtaco_no_inference with open("fishtaco_out_no_inf_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_no_inf_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
Traceback (most recent call last): File "/root/anaconda3/lib/python3.9/site-packages/FishTaco-1.1.1-py3.9.egg/EGG-INFO/scripts/test_fishtaco.py", line 398, in test_is_output_correct_for_fishtaco_predict_functional_profile with open("fishtaco_out_predict_function_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_predict_function_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
Traceback (most recent call last): File "/root/anaconda3/lib/python3.9/site-packages/FishTaco-1.1.1-py3.9.egg/EGG-INFO/scripts/test_fishtaco.py", line 285, in test_is_output_correct_for_fishtaco_prior_based_inference with open("fishtaco_out_prior_based_inf_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_prior_based_inf_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
Traceback (most recent call last): File "/root/anaconda3/lib/python3.9/site-packages/FishTaco-1.1.1-py3.9.egg/EGG-INFO/scripts/test_fishtaco.py", line 523, in test_is_output_correct_for_fishtaco_shapley_value test_output = pd.read_csv('fishtaco_outshapley' File "/root/anaconda3/lib/python3.9/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, kwargs) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv return _read(filepath_or_buffer, kwds) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 575, in _read parser = TextFileReader(filepath_or_buffer, kwds) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 933, in init self._engine = self._make_engine(f, self.engine) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1217, in _make_engine self.handles = get_handle( # type: ignore[call-overload] File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/common.py", line 789, in get_handle handle = open( FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_shapley_STAT_taxa_contributions_SCORE_wilcoxon_ASSESSMENT_multi_taxa.tab'
Traceback (most recent call last): File "/root/anaconda3/lib/python3.9/site-packages/FishTaco-1.1.1-py3.9.egg/EGG-INFO/scripts/test_fishtaco.py", line 182, in test_learn_non_neg_elastic_net_de_novo test_output = pd.read_csv('test_de_novo_based_inf_STAT_taxalearned' File "/root/anaconda3/lib/python3.9/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, kwargs) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv return _read(filepath_or_buffer, kwds) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 575, in _read parser = TextFileReader(filepath_or_buffer, kwds) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 933, in init self._engine = self._make_engine(f, self.engine) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1217, in _make_engine self.handles = get_handle( # type: ignore[call-overload] File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/common.py", line 789, in get_handle handle = open( FileNotFoundError: [Errno 2] No such file or directory: 'test_de_novo_based_inf_STAT_taxa_learned_copy_num_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
Traceback (most recent call last): File "/root/anaconda3/lib/python3.9/site-packages/FishTaco-1.1.1-py3.9.egg/EGG-INFO/scripts/test_fishtaco.py", line 137, in test_learn_non_neg_elastic_net_with_prior test_output = pd.read_csv('test_prior_based_inf_STAT_taxalearned' File "/root/anaconda3/lib/python3.9/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, kwargs) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv return _read(filepath_or_buffer, kwds) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 575, in _read parser = TextFileReader(filepath_or_buffer, kwds) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 933, in init self._engine = self._make_engine(f, self.engine) File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/parsers/readers.py", line 1217, in _make_engine self.handles = get_handle( # type: ignore[call-overload] File "/root/anaconda3/lib/python3.9/site-packages/pandas/io/common.py", line 789, in get_handle handle = open( FileNotFoundError: [Errno 2] No such file or directory: 'test_prior_based_inf_STAT_taxa_learned_copy_num_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
Ran 10 tests in 13.070s
FAILED (errors=8)
Hello, I am unable to get the test_fishtaco.py file to work... I installed version 1.1.6 and followed the install instructions at https://borenstein-lab.github.io/fishtaco/installation.html . I get about 10 errors when I run the test file. Is there anybody that would be able to assist me? I am not a computer programmer so it's been a huge learning curve trying to learn to code and run this program for my honors thesis. I really appreciate any help that can be provided.
I've pasted the error below:
`ERROR: test_is_output_correct_for_fishtaco_FDR_correction (main.FishTacoTestCase) Does FishTaco with FDR multiple hypothesis correction produce the correct output for
Traceback (most recent call last): File "test_fishtaco.py", line 570, in test_is_output_correct_for_fishtaco_FDR_correction with open("fishtaco_out_FDR_correction_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_FDR_correction_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
====================================================================== ERROR: test_is_output_correct_for_fishtaco_de_novo_inference (main.FishTacoTestCase) Does FishTaco with de novo inference produce the correct output
Traceback (most recent call last): File "test_fishtaco.py", line 342, in test_is_output_correct_for_fishtaco_de_novo_inference with open("fishtaco_out_de_novo_inf_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_de_novo_inf_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
====================================================================== ERROR: test_is_output_correct_for_fishtaco_filtering_by_function_list (main.FishTacoTestCase) Does FishTaco with filtering by function list produce the correct
Traceback (most recent call last): File "test_fishtaco.py", line 456, in test_is_output_correct_for_fishtaco_filtering_by_function_list with open("fishtaco_out_filtering_by_function_list_STAT_run_log_SCORE" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_filtering_by_function_list_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
====================================================================== ERROR: test_is_output_correct_for_fishtaco_no_inference (main.FishTacoTestCase) Does FishTaco with no inference produce the correct output for
Traceback (most recent call last): File "test_fishtaco.py", line 227, in test_is_output_correct_for_fishtaco_no_inference with open("fishtaco_out_no_inf_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_no_inf_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
====================================================================== ERROR: test_is_output_correct_for_fishtaco_predict_functional_profile (main.FishTacoTestCase) Does FishTaco with predicting the functional profiles produce the
Traceback (most recent call last): File "test_fishtaco.py", line 398, in test_is_output_correct_for_fishtaco_predict_functional_profile with open("fishtaco_out_predict_function_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_predict_function_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
====================================================================== ERROR: test_is_output_correct_for_fishtaco_prior_based_inference (main.FishTacoTestCase) Does FishTaco with prior-based inference produce the correct
Traceback (most recent call last): File "test_fishtaco.py", line 285, in test_is_output_correct_for_fishtaco_prior_based_inference with open("fishtaco_out_prior_based_inf_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_prior_based_inf_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
====================================================================== ERROR: test_is_output_correct_for_fishtaco_shapley_value (main.FishTacoTestCase) Does FishTaco with no inference produce the correct output for
Traceback (most recent call last): File "test_fishtaco.py", line 523, in test_is_output_correct_for_fishtaco_shapley_value test_output = pd.read_csv('fishtaco_outshapley' File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, kwargs) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv return _read(filepath_or_buffer, kwds) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 575, in _read parser = TextFileReader(filepath_or_buffer, kwds) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 933, in init self._engine = self._make_engine(f, self.engine) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 1217, in _make_engine self.handles = get_handle( # type: ignore[call-overload] File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/common.py", line 789, in get_handle handle = open( FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_shapley_STAT_taxa_contributions_SCORE_wilcoxon_ASSESSMENT_multi_taxa.tab'
====================================================================== ERROR: test_is_output_correct_for_fishtaco_stricter_FDR_filter (main.FishTacoTestCase) Does FishTaco with a stricter FDR filter produce the correct output for
Traceback (most recent call last): File "test_fishtaco.py", line 630, in test_is_output_correct_for_fishtaco_stricter_FDR_filter with open("fishtaco_out_stricter_FDR_filter_STAT_run_log_SCORE_wilcoxon" FileNotFoundError: [Errno 2] No such file or directory: 'fishtaco_out_stricter_FDR_filter_STAT_run_log_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
====================================================================== ERROR: test_learn_non_neg_elastic_net_de_novo (main.FishTacoTestCase) Does learn_non_neg_elastic_net_with_prior.py produce the correct
Traceback (most recent call last): File "test_fishtaco.py", line 182, in test_learn_non_neg_elastic_net_de_novo test_output = pd.read_csv('test_de_novo_based_inf_STAT_taxalearned' File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, kwargs) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv return _read(filepath_or_buffer, kwds) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 575, in _read parser = TextFileReader(filepath_or_buffer, kwds) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 933, in init self._engine = self._make_engine(f, self.engine) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 1217, in _make_engine self.handles = get_handle( # type: ignore[call-overload] File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/common.py", line 789, in get_handle handle = open( FileNotFoundError: [Errno 2] No such file or directory: 'test_de_novo_based_inf_STAT_taxa_learned_copy_num_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
====================================================================== ERROR: test_learn_non_neg_elastic_net_with_prior (main.FishTacoTestCase) Does learn_non_neg_elastic_net_with_prior.py produce the correct
Traceback (most recent call last): File "test_fishtaco.py", line 137, in test_learn_non_neg_elastic_net_with_prior test_output = pd.read_csv('test_prior_based_inf_STAT_taxalearned' File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/util/_decorators.py", line 311, in wrapper return func(*args, kwargs) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 680, in read_csv return _read(filepath_or_buffer, kwds) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 575, in _read parser = TextFileReader(filepath_or_buffer, kwds) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 933, in init self._engine = self._make_engine(f, self.engine) File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/parsers/readers.py", line 1217, in _make_engine self.handles = get_handle( # type: ignore[call-overload] File "/home/aadeg/.local/lib/python3.8/site-packages/pandas/io/common.py", line 789, in get_handle handle = open( FileNotFoundError: [Errno 2] No such file or directory: 'test_prior_based_inf_STAT_taxa_learned_copy_num_SCORE_wilcoxon_ASSESSMENT_single_taxa.tab'
Ran 12 tests in 6.815s
FAILED (errors=10) `