We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two users have experienced a bug associated with function scoping. Here is a reproducible example:
run_on_cluster( first={ sim <- new_sim() fn_level_2 <- function(nseq) { return(999) } fn_level_1 <- function(nseq) { fn_level_2(n) } sim %<>% set_script(function(){ x <- fn_level_1(nseq=L$n) return(list(x=x, y=runif(1))) }) sim %<>% set_levels(n=3) sim %<>% set_config(num_sim=10) }, main={ sim %<>% run() }, last={}, cluster_config=list(js="slurm") )
This works if the declaration of fn_level_2 is moved above run_on_cluster.
fn_level_2
run_on_cluster
The text was updated successfully, but these errors were encountered:
This is now fixed.
Sorry, something went wrong.
Avi-Kenny
No branches or pull requests
Two users have experienced a bug associated with function scoping. Here is a reproducible example:
This works if the declaration of
fn_level_2
is moved aboverun_on_cluster
.The text was updated successfully, but these errors were encountered: