pezmaster31/bamtools — Issue #28: reader.IsIndexLoaded()
Author: mmparks
Created: 2011-12-15 23:40:30+00:00
State: open

Dear Derek,

The reader function IsIndexLoaded() does not tell whether the index file has been loaded or not, only whether the HasIndex parameter is set to true. This is clear form the function implementation:

bool BamReader::IsIndexLoaded(void) const {
return d->HasIndex();
}

In BamReader_p.cpp, I did not see a variable along the lines of bool IsIndexLoaded . Perhaps such a variable was forgotten and the function IsIndexLoaded() should return the status of this variable?

Thank you,
Mattheww