Commit ef122dab authored by Mikaël Salson's avatar Mikaël Salson

fasta.cpp: Use gzstream everywhere

parent 1f47f77d
......@@ -59,7 +59,7 @@ void Fasta::add(istream &in, bool verbose) {
}
void Fasta::add(const string &filename, bool verbose) {
ifstream is(filename.c_str());
igzstream is(filename.c_str());
if (is.fail())
{
throw invalid_argument(" !! Error in opening file: "+ filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment