File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -332,12 +332,10 @@ main_bsrate(int argc, const char **argv) {
332332 const int32_t the_tid = get_tid (aln);
333333
334334 // make sure all reads from same chrom are contiguous in the file
335- if (chroms_seen.find (the_tid) != end (chroms_seen)) {
336- cerr << the_tid << ' \t ' << current_tid << endl;
335+ if (chroms_seen.find (the_tid) != end (chroms_seen))
337336 throw runtime_error (" chroms out of order in mapped reads file" );
338- }
337+
339338 current_tid = the_tid;
340- if (VERBOSE) cerr << " processing " << the_tid << endl;
341339
342340 chroms_seen.insert (the_tid);
343341
@@ -346,6 +344,9 @@ main_bsrate(int argc, const char **argv) {
346344 throw runtime_error (" could not find chrom: " + the_tid);
347345
348346 chrom_idx = chrom_itr->second ;
347+
348+ if (VERBOSE) cerr << " processing " << names[chrom_idx] << endl;
349+
349350 use_this_chrom = seq_to_use.empty () || chrom_idx == chrom_idx_to_use;
350351 }
351352
You can’t perform that action at this time.
0 commit comments