Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
larsvilhuber authored Jan 2, 2025
1 parent 6e7ec28 commit aad29f5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions 05-robust-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ global step2 1
do "code/00_setup.do"
if $step1 == 1 do "code/01_download_data.do"
if $step2 == 2 do "code/02_create_analysis_sample.do"
if $step3 == 3 do "code/03_analysis.do"
if $step2 == 1 do "code/02_create_analysis_sample.do"
if $step3 == 1 do "code/03_analysis.do"
```

## Example (2) {transition="fade" transition-speed="fast"}
Expand Down Expand Up @@ -141,8 +141,8 @@ global step2 1
do "code/00_setup.do"
if $step1 == 1 do "code/01_download_data.do"
if $step2 == 2 do "code/02_create_analysis_sample.do"
if $step3 == 3 do "code/03_analysis.do"
if $step2 == 1 do "code/02_create_analysis_sample.do"
if $step3 == 1 do "code/03_analysis.do"
```

## Starting to be complex
Expand Down Expand Up @@ -177,8 +177,8 @@ global step2 1
// Nothing needs to be changed here
do "$rootdir/code/00_setup.do"
if $step1 == 1 do "$rootdir/code/01_download_data.do"
if $step2 == 2 do "$rootdir/code/02_create_analysis_sample.do"
if $step3 == 3 do "$rootdir/code/03_analysis.do"
if $step2 == 1 do "$rootdir/code/02_create_analysis_sample.do"
if $step3 == 1 do "$rootdir/code/03_analysis.do"
```

## Example (5) {transition="fade" transition-speed="fast"}
Expand All @@ -197,8 +197,8 @@ global step2 1
// Nothing needs to be changed here
do "$rootdir/code/00_setup.do"
if $step1 == 1 do "$rootdir/code/01_download_data.do"
if $step2 == 2 do "$rootdir/code/02_create_analysis_sample.do"
if $step3 == 3 do "$rootdir/code/03_analysis.do"
if $step2 == 1 do "$rootdir/code/02_create_analysis_sample.do"
if $step3 == 1 do "$rootdir/code/03_analysis.do"
```

## Example (6)
Expand All @@ -220,8 +220,8 @@ if `r(checksum)' == $checksum1 global step2 0
// Nothing needs to be changed here
do "$rootdir/code/00_setup.do"
if $step1 == 1 do "$rootdir/code/01_download_data.do"
if $step2 == 2 do "$rootdir/code/02_create_analysis_sample.do"
if $step3 == 3 do "$rootdir/code/03_analysis.do"
if $step2 == 1 do "$rootdir/code/02_create_analysis_sample.do"
if $step3 == 1 do "$rootdir/code/03_analysis.do"
```

---
Expand Down

0 comments on commit aad29f5

Please sign in to comment.