Skip to content

Commit

Permalink
Merge branch 'breaking-improvments_inference_log' into breaking-impro…
Browse files Browse the repository at this point in the history
…vments
  • Loading branch information
alsnhll committed Jan 26, 2024
2 parents 4771607 + 6228454 commit da9a733
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flepimop/main_scripts/inference_main.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ print(paste('Running ',opt$j,' jobs in parallel'))

config <- flepicommon::load_config(opt$config)




# Run Specifics -----------------------------------------------------------

if(is.na(opt$iterations_per_slot)) {
Expand Down Expand Up @@ -131,6 +128,9 @@ foreach(flepi_slot = seq_len(opt$slots)) %dopar% {
"-R", opt[["is-resume"]],
"-I", opt[["is-interactive"]],
"-L", opt$reset_chimeric_on_accept,
#paste("2>&1 | tee log_inference_slot", flepi_slot, ".txt", sep=""),
paste("2>&1 | tee log_inference_slot_",config$name,"_",opt$run_id, "_", flepi_slot, ".txt", sep=""),
#paste("2>&1 | tee model_output/",config$name,"/",opt$run_id,"/log/log_inference_slot", flepi_slot, ".txt", sep=""), # doesn't work because config$name needs to be combined with scenarios to generate the folder name, and, because this command seems to only be able to pipe output to pre-existing folders
sep = " ")
)
if(err != 0){quit("no")}
Expand Down

0 comments on commit da9a733

Please sign in to comment.