Opened 9 years ago

Closed 9 years ago

#778 closed request (fixed)

throw OutBamFile::error from OutBamFile::write(const BamRead& read)

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.12
Component: omic Version:
Keywords: Cc:

Description

From BamFile?.cc:

// FIXME if wanted perhaps we should throw an OutBamFile::error
// instead that can hold \a read

Change History (3)

comment:1 Changed 9 years ago by Peter

Status: newassigned

comment:2 Changed 9 years ago by Peter

(In [3162]) refs #778. samwrite returns -1 if file is closed, so correct code to detect when this happens.

comment:3 Changed 9 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [3166]) throw OutBamFile::error when OutBamFile::write fails. closes #778

Note: See TracTickets for help on using tickets.