Skip to content

Commit

Permalink
early stopping 1e6
Browse files Browse the repository at this point in the history
  • Loading branch information
JokingHero committed Mar 12, 2024
1 parent 4b14e62 commit 7f70eef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ARTEMIS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ function parse_commandline(args::Array{String})

@add_arg_table! s["search"]["prefixHashDB"] begin
"--early_stopping"
help = "Input a vector of length of distance + 1 with early stopping conditions."
help = "Input a vector of length of distance + 1 with early stopping conditions. If not supplied we will look up to 1e6 OTs for each distance."
arg_type = Int
nargs = '*'
required = false
Expand Down Expand Up @@ -594,7 +594,8 @@ function main(args::Array{String})
early_stopping = args["prefixHashDB"]["early_stopping"])
else
search_prefixHashDB(args["database"], guides, args["output"];
distance = args["distance"])
distance = args["distance"],
early_stopping = repeat([1000000], args["distance"] + 1))
end
elseif args["%COMMAND%"] == "motifDB"
search_motifDB(
Expand Down

0 comments on commit 7f70eef

Please sign in to comment.