Skip to content

Commit

Permalink
Rename func.
Browse files Browse the repository at this point in the history
  • Loading branch information
haowenz committed Jul 26, 2022
1 parent 2b8a6f0 commit 33723c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/draft_mapping_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void DraftMappingGenerator::GenerateDraftMappings(
// Directly obtain the non-split mapping in ideal case and return without
// running actual verification.
const bool is_mapping_generated =
DirectlyGenerateOneNonSplitMappingSupportedByAllMinimizers(
GenerateNonSplitDraftMappingSupportedByAllMinimizers(
read_batch, read_index, reference, mapping_metadata);
if (is_mapping_generated) {
return;
Expand Down Expand Up @@ -70,7 +70,7 @@ bool DraftMappingGenerator::IsValidCandidate(uint32_t rid, uint32_t position,
}

bool DraftMappingGenerator::
DirectlyGenerateOneNonSplitMappingSupportedByAllMinimizers(
GenerateNonSplitDraftMappingSupportedByAllMinimizers(
const SequenceBatch &read_batch, uint32_t read_index,
const SequenceBatch &reference, MappingMetadata &mapping_metadata) {
if (split_alignment_) {
Expand Down
2 changes: 1 addition & 1 deletion src/draft_mapping_generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class DraftMappingGenerator {

// Return true when there is one non-split mapping generated and the mapping
// is supported by all the minimizers.
bool DirectlyGenerateOneNonSplitMappingSupportedByAllMinimizers(
bool GenerateNonSplitDraftMappingSupportedByAllMinimizers(
const SequenceBatch &read_batch, uint32_t read_index,
const SequenceBatch &reference, MappingMetadata &mapping_metadata);

Expand Down

0 comments on commit 33723c2

Please sign in to comment.