Skip to content

Commit

Permalink
Fix parameter in masksequence
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jan 13, 2025
1 parent e6fb3e9 commit 9a7c68d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/masksequence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int masksequence(int argc, const char **argv, const Command& command) {
#pragma omp for schedule(dynamic, 1)
for (size_t id = 0; id < reader.getSize(); ++id) {
seq.mapSequence(id, reader.getDbKey(id), reader.getData(id, thread_idx), reader.getSeqLen(id));
masker.maskSequence(seq, par.mask, par.maskProb, par.maskLowerCaseMode, par.maskNrepeats);
masker.maskSequence(seq, par.maskMode, par.maskProb, par.maskLowerCaseMode, par.maskNrepeats);
memcpy(charSequence, seq.getSeqData(), seq.L * sizeof(char));
masker.applySoftmasking(charSequence, seq.numSequence, seq.L);
charSequence[seq.L] = '\n';
Expand Down

0 comments on commit 9a7c68d

Please sign in to comment.