Skip to content

Commit

Permalink
do extra dynamic documents
Browse files Browse the repository at this point in the history
  • Loading branch information
mle2718 committed Nov 8, 2023
1 parent 21f4ecc commit 350aa89
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ capture mkdir "$stacked_month"
/*this global controls a few other subfiles*/
global this_working_year 2023

global process_list 2022 2023
global process_list 2021 2022 2023


*global stacked_dir "${workdir}/stacked_monthly"
Expand Down Expand Up @@ -66,6 +66,15 @@ do "$processing_code/monthly/joint_catch_frequencies.do"

/* Write to a html file.*/

if ($this_working_year==2023){
global this_working_year 2022
dyndoc "$processing_code/catch_summaries.txt", saving($my_results/catch_summaries_${this_working_year}.html) replace
}


global this_working_year 2023
dyndoc "$processing_code/catch_summaries.txt", saving($my_results/catch_summaries_${this_working_year}.html) replace






0 comments on commit 350aa89

Please sign in to comment.