File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -219,15 +219,15 @@ km_options_t all_cli(std::shared_ptr<bc::Parser<1>> cli, all_options_t options)
219219 if (v.find (' .' ) != std::string::npos)
220220 {
221221 bc::check::throw_if_false (bc::check::f::range (0.0 , 1.0 )(" --abundance-min<float>" , v));
222- options->m_ab_min_f ;
222+ options->m_ab_min_f = bc::utils::lexical_cast< double >(v) ;
223223 options->m_ab_float = true ;
224224 }
225225 else
226226 options->m_ab_min = bc::utils::lexical_cast<uint32_t >(v);
227227 };
228228
229- all_cmd->add_param (" --merge-abundance-min" , " during merge, min abundance to keep a k-mer." )
230- ->meta (" INT" )
229+ all_cmd->add_param (" --merge-abundance-min" , " during merge, min abundance to keep a k-mer, see README ." )
230+ ->meta (" INT/STR/FLOAT " )
231231 ->def (" 1" )
232232 ->setter_c (a_min_setter);
233233
@@ -496,7 +496,7 @@ km_options_t merge_cli(std::shared_ptr<bc::Parser<1>> cli, merge_options_t optio
496496 if (v.find (' .' ) != std::string::npos)
497497 {
498498 bc::check::throw_if_false (bc::check::f::range (0.0 , 1.0 )(" --abundance-min<float>" , v));
499- options->m_ab_min_f ;
499+ options->m_ab_min_f = bc::utils::lexical_cast< double >(v) ;
500500 options->m_ab_float = true ;
501501 }
502502 else
You can’t perform that action at this time.
0 commit comments