• Mikaël Salson's avatar
    Fasta: Throw rather than exit on error. · 183ad875
    Mikaël Salson authored
    An exception can be caught while an exit can't. Thus we can test it.
    Moreover some consistency is introduced: Fasta and OnlineFasta will
    throw a invalid_argument in case of problem with the input file
    (either in opening or parsing it).
    183ad875
fasta.cpp 6.77 KB