Skip to content

Commit

Permalink
fix(create_OM): Completes partial arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
kellijohnson-NOAA authored and k-doering-NOAA committed Mar 28, 2024
1 parent 4952dcd commit 1e29232
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion R/initOM.R
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,10 @@ create_OM <- function(OM_out_dir,
# modify dat file ----
dat[["endyr"]] <- dat[["endyr"]] + nyrs # because OM goes through the last simulated year.
# remove the sampling components not needed
dat <- rm_sample_struct_hist(sample_struct = sample_struct_hist, dat = dat)
dat <- rm_sample_struct_hist(
sample_struct_hist = sample_struct_hist,
dat = dat
)
# Add in the historical sampling structure, as defined by the user
dat <- add_sample_struct(sample_struct = sample_struct_hist, dat = dat)
dat <- add_sample_struct(sample_struct = sample_struct, dat = dat)
Expand Down

0 comments on commit 1e29232

Please sign in to comment.