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 Nov 2, 2023
1 parent 5467c5b commit d73398b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/chopper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ int main(int argc, char const * argv[])

chopper::sketch::check_filenames(filenames, config);

config.hibf_config.input_fn = chopper::input_functor{filenames, config.precomputed_files, config.k, config.window_size};
config.hibf_config.input_fn =
chopper::input_functor{filenames, config.precomputed_files, config.k, config.window_size};
config.hibf_config.number_of_user_bins = filenames.size();

exit_code |= chopper::layout::execute(config, filenames);
Expand Down
8 changes: 7 additions & 1 deletion src/util/display_layout/general.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,13 @@ int execute(config const & cfg)

for (auto const & filename : filenames[user_bin.idx])
{
process_file(filename, current_kmer_set, current_kmers, sketch, fill_current_kmers, chopper_config.k, chopper_config.window_size);
process_file(filename,
current_kmer_set,
current_kmers,
sketch,
fill_current_kmers,
chopper_config.k,
chopper_config.window_size);
}

// Compute set intersection: shared_kmers = shared_kmers ∩ current_kmers
Expand Down
5 changes: 4 additions & 1 deletion src/util/display_layout/process_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ void process_file(std::string const & filename,
}
}

void process_file(std::string const & filename, std::vector<uint64_t> & current_kmers, uint8_t const kmer_size, uint8_t const window_size)
void process_file(std::string const & filename,
std::vector<uint64_t> & current_kmers,
uint8_t const kmer_size,
uint8_t const window_size)
{
if (filename.ends_with(".minimiser"))
{
Expand Down
4 changes: 3 additions & 1 deletion src/util/display_layout/shared.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ 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, uint8_t const kmer_size,
void process_file(std::string const & filename,
std::vector<uint64_t> & current_kmers,
uint8_t const kmer_size,
uint8_t const window_size);

void process_file(std::string const & filename,
Expand Down

0 comments on commit d73398b

Please sign in to comment.