]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/internal/BamStandardIndex_p.cpp
Removed debug statements that snuck into last commit
[bamtools.git] / src / api / internal / BamStandardIndex_p.cpp
index 1279f894bf7f1767a2d69a18e7477df50b41cbc3..d29c3c5c42aad93690a6b624bb36a6a87d9b7dab 100644 (file)
@@ -247,8 +247,6 @@ void BamStandardIndex::CloseFile(void) {
 // builds index from associated BAM file & writes out to index file
 bool BamStandardIndex::Create(void) {
 
-    cerr << "Creating BAI..." << endl;
-
     // return false if BamReader is invalid or not open
     if ( m_reader == 0 || !m_reader->IsOpen() ) {
         cerr << "BamStandardIndex ERROR: BamReader is not open"
@@ -256,8 +254,6 @@ bool BamStandardIndex::Create(void) {
         return false;
     }
 
-    cerr << "BAM file is open" << endl;
-
     // rewind BamReader
     if ( !m_reader->Rewind() ) {
         cerr << "BamStandardIndex ERROR: could not rewind BamReader to create index"
@@ -265,8 +261,6 @@ bool BamStandardIndex::Create(void) {
         return false;
     }
 
-    cerr << "BAM file is rewound" << endl;
-
     // open new index file (read & write)
     string indexFilename = m_reader->Filename() + Extension();
     if ( !OpenFile(indexFilename, "w+b") ) {