Skip to content

Commit

Permalink
[MISC] automatic linting
Browse files Browse the repository at this point in the history
  • Loading branch information
seqan-actions committed Oct 9, 2023
1 parent 35df1bd commit ff75a2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/display_layout/general.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ int execute(config const & cfg)
});

seqan::hibf::sketch::hyperloglog sketch{hibf_config.sketch_bits}; // store one sketch computeted by iterative add
std::vector<seqan::hibf::sketch::hyperloglog> sketches; // store separate sketches for each user bin to merge afterwards
std::vector<seqan::hibf::sketch::hyperloglog>
sketches; // store separate sketches for each user bin to merge afterwards

robin_hood::unordered_set<uint64_t> shared_kmers{};
// We can't use `shared_kmers.size() == 0` instead of `shared_kmers_initialised`, because keep_duplicates
Expand Down Expand Up @@ -170,9 +171,7 @@ int execute(config const & cfg)
<< shared_kmers.size() << '\t' //
<< ub_count << '\t' //
<< (is_merged ? "merged" : "split") << '\t' //
<< split_count << '\t'
<< merge_estimate << '\t'
<< merge_SIMD_estimate << '\n';
<< split_count << '\t' << merge_estimate << '\t' << merge_SIMD_estimate << '\n';
split_count = 0u; // Subsequent split bins display 0, the first split bin displays the actual split count.
}
};
Expand Down
1 change: 0 additions & 1 deletion src/display_layout/shared.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ struct config
void execute_general(config const & cfg);
void execute_sizes(config const & cfg);


void process_file(std::string const & filename,
std::vector<uint64_t> & current_kmers,
seqan::hibf::sketch::hyperloglog & sketch,
Expand Down

0 comments on commit ff75a2b

Please sign in to comment.