Changeset 3140


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

fixes #776 a bug in function BamHeader::tid

Location:
branches/0.11-stable
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.11-stable/test/Makefile.am

    r3123 r3140  
    4545  test/bam_region_iterator.test \
    4646  test/bam_header.test \
     47  test/bam_header2.test \
    4748  test/codon.test test/commandline.test \
    4849  test/concept.test \
  • 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.