Skip to content

Commit

Permalink
src/StreamReader.cpp: Removing an old debug print statement that was …
Browse files Browse the repository at this point in the history
…left in and fixing code formatting
  • Loading branch information
andrewdavidsmith committed Jul 15, 2024
1 parent 32cdef3 commit 90195eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/StreamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ get_tile_split_position(FalcoConfig &config) {
size_t tabPos = line.find('\t');
line = line.substr(0, tabPos);
for (char c : line) num_colon += (c == ':');
std::cout << num_colon << std::endl;
}
#ifdef USE_HTS
else if (config.is_bam) {
Expand All @@ -64,7 +63,7 @@ get_tile_split_position(FalcoConfig &config) {
if (hdr == nullptr)
throw runtime_error("cannot read header from bam file : " + filename);
bam1_t *b = bam_init1();
if (sam_read1(hts, hdr, b) < - 1) {
if (sam_read1(hts, hdr, b) < -1) {
hts_close(hts);
sam_hdr_destroy(hdr);
bam_destroy1(b);
Expand Down

0 comments on commit 90195eb

Please sign in to comment.