Opened 4 years ago
Closed 4 years ago
#940 closed request (fixed)
add failure check in Fasta::fetch
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | trivial | Milestone: | yat 0.18 |
Component: | omic | Version: | trunk |
Keywords: | Cc: |
Description
Currently Fasta::fetch does not check if underlying htslib function failed, but the ::fetch is a private function and in both places the function is called error checks are done. Some of this code is repeated, so it seems better to move into ::fetch. There is also a comment about throwing different exception class depending on type of error (code by -1 or -2).
Change History (2)
comment:1 Changed 4 years ago by
Milestone: | yat 0.x+ → yat 0.18 |
---|---|
Status: | new → accepted |
comment:2 Changed 4 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
In 3887: