Ignore:
Timestamp:
Dec 16, 2013, 11:14:41 AM (8 years ago)
Author:
Peter
Message:

fixes #776 a bug in function BamHeader::tid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.11-stable/yat/omic/BamHeader.cc

    r2999 r3140  
    7575      // hash get populated.
    7676      int tid, b, e;
    77       bam_parse_region(header_, target_name(0), &tid, &b, &e);
     77      bam_parse_region(header_, name.c_str(), &tid, &b, &e);
    7878      assert(header_->hash);
    7979      assert(tid == bam_get_tid(header_, name.c_str()));
Note: See TracChangeset for help on using the changeset viewer.