Skip to content

Commit

Permalink
mc
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-buscaroli committed Jan 9, 2025
1 parent 213c77c commit f5ee6e0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions R/generate_synthetic_df.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ generate_synthetic_df = function(N_values,

if ( check_present &
(paste0(tmp_name, ".", n_df, ".data.Rds") %in% files_list) ) {
x = readRDS(paste0(tmp_name, ".", n_df, ".data.Rds"))
filename = paste0(tmp_name, ".", n_df)
# filename = paste0(subpath, tmp_name, ".", n_df, ".data.Rds")
cat(paste0(filename, "\n"))
x = readRDS(paste0(subpath, filename, ".data.Rds"))
} else {
sim = py_pkg$Simulate(N=as.integer(nn),
`T`=as.integer(tt),
Expand Down Expand Up @@ -125,8 +128,8 @@ generate_synthetic_df = function(N_values,

saveRDS(x_fit, paste0(subpath, filename, ".fit.Rds"))

rm(mean_scale)
rm(alpha)
# rm(mean_scale)
# rm(alpha)
}
}
}
Expand Down

0 comments on commit f5ee6e0

Please sign in to comment.