Skip to content

Commit

Permalink
fix index_paa assignment from basic_info (Issue #64)
Browse files Browse the repository at this point in the history
  • Loading branch information
timjmiller committed Jun 1, 2022
1 parent 4935162 commit a3e3afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/prepare_wham_input.R
Expand Up @@ -333,7 +333,7 @@ prepare_wham_input <- function(asap3 = NULL, model_name="WHAM for unnamed stock"
if(any(names(basic_info) %in% catch_names)) catch_opts = basic_info[catch_names]

index_opts = NULL
index_names = c("n_indices", "agg_indices", "agg_index_paa", "fracyr_indices", "index_cv", "index_Neff", "units_indices",
index_names = c("n_indices", "agg_indices", "index_paa", "fracyr_indices", "index_cv", "index_Neff", "units_indices",
"units_index_paa", "use_indices", "use_index_paa", "selblock_pointer_indices")
if(any(names(basic_info) %in% index_names)) index_opts = basic_info[index_names]

Expand Down

0 comments on commit a3e3afc

Please sign in to comment.