Opened 10 years ago

Closed 10 years ago

#776 closed defect (fixed)

BamHeader::tid incorrect at first call

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.11.1
Component: omic Version: 0.11
Keywords: Cc:

Description

It seems like BamHeader::tid is not returning a correct value first time it called, but after that it seems corrected. I have something like this

BedData(const BamHeader& hd, std::string& str)
{
std::cerr << ": " << hd.tid(str) << "\n";
std::cerr << ": " << hd.tid(str) << "\n";
...
}

which gives output

: 0
: 1

That is first of all inconsistent, and the first line is incorrect.

Change History (2)

comment:1 Changed 10 years ago by Peter

Status: newassigned

comment:2 Changed 10 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [3140]) fixes #776 a bug in function BamHeader::tid

Note: See TracTickets for help on using tickets.