Changeset 3030
- Timestamp:
- Apr 21, 2013, 3:09:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/omic/BamRead.cc
r3029 r3030 94 94 assert(bam_); 95 95 uint8_t* s = bam_aux_get(bam_, tag); 96 if (s) 97 bam_aux_del(bam_, s); 98 std::stringstream msg("BamRead::aux_del: absent tag: "); 99 msg << "'" << tag << "'"; 100 throw utility::runtime_error(msg.str()); 96 if (!s) { 97 std::stringstream msg("BamRead::aux_del: absent tag: "); 98 msg << "'" << tag << "'"; 99 throw utility::runtime_error(msg.str()); 100 } 101 bam_aux_del(bam_, s); 101 102 } 102 103
Note: See TracChangeset
for help on using the changeset viewer.