Skip to content

Commit 15c41cb

Browse files
committed
warning if k>64
1 parent 3b3599b commit 15c41cb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/bcalm_1.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ void bcalm_1::execute (){
120120
int dsk_memory = getInput()->getInt("-dsk-memory");
121121
bool verbose = (getInput()->get(STR_VERBOSE) && getInput()->getInt(STR_VERBOSE) > 0);
122122

123+
if (kmerSize > 64)
124+
{
125+
std::cout<<"unsupposed kmer size, for now, k <= 64" << std::endl;
126+
exit(1);
127+
}
128+
123129
if (nb_threads > nb_threads_simulate)
124130
nb_threads_simulate = nb_threads;
125131

0 commit comments

Comments
 (0)