nhoffman / bioy

Tools for NGS sequence analysis and bacterial classification
GNU General Public License v3.0
0 stars 0 forks source link

before executing ssearch, check for empty files #17

Closed tyleraland closed 10 years ago

tyleraland commented 10 years ago

Problem: If a query or a library file is empty, ssearch hangs because it repeatedly tries and fails to open the empty file.

Solution: Bioy checks the file size ahead of time and only calls if necessary.