sjteresi / TE_Density

Python script calculating transposable element density for all genes in a genome. Publication: https://mobilednajournal.biomedcentral.com/articles/10.1186/s13100-022-00264-4
GNU General Public License v3.0
28 stars 4 forks source link

revise annotation test failures #86

Closed teresi closed 2 years ago

teresi commented 3 years ago
$ pytest -s tests/unit/test_ReviseAnno.py

fails due to a missing directory OSError: '<project path>/tests/test_h5_cache_loc' does not exist this path should be created by the test

when I create the path manually, it fails due to missing files

$ mkdir -p tests/test_h5_cache_loc
$ pytest -s tests/unit/test_ReviseAnno.py
E               FileNotFoundError: [Errno 2] No such file or directory: 'tests/output_data/SingleC_SingleE_Super.tsv'
E               FileNotFoundError: [Errno 2] No such file or directory: 'tests/output_data/SingleC_MultiE_Super.tsv'
E               FileNotFoundError: [Errno 2] No such file or directory: 'tests/output_data/SingleC_Conc_Super.tsv'

and many more (see attached) errors.txt