Open LeeBergstrand opened 2 years ago
@LeeBergstrand Good find. This should be an easy fix, but my time is super limited right now. Would you be willing to make a PR for this? Otherwise, we could add it to a longer-term list of minor improvements to make to the code (e.g., https://github.com/LeeBergstrand/BackBLAST_Reciprocal_BLAST/issues/35)
@jmtsuji I'll do a pull request for this eventually. Leaving open.
@LeeBergstrand Sounds good, thanks.
Problem Description
If one puts in the wrong FASTA file paths for
search.py
, then the error is only caught when BLAST fails as a subprocess.e.g.
Problem Solution
Check if the input files are there in Python and error out with a clear message before calling BLASTp.