EddyRivasLab / hmmer

HMMER: biological sequence analysis using profile HMMs
http://hmmer.org
Other
305 stars 69 forks source link

read_asc{2,3}0hmm returning unset status #311

Closed nawrockie closed 11 months ago

nawrockie commented 11 months ago

There's a few cases in p7_hmmfile.c::read_asc{2,3}0hmm where status is returned when it hasn't been set to an error code. I came across these after stumbling upon the same situation in infernal, where the code had been copied from hmmer. An HMM file would have to be invalid in a very specific way for this to ever cause an issue, but still probably worth fixing. I will prepare a PR to address this.

cryptogenomicon commented 11 months ago

Fixed by merging your PR #312. Thanks!