worldbank / repkit

A Stata package with tools related to computational reproducibility
https://worldbank.github.io/repkit/
6 stars 0 forks source link

`reprun`: Sub do-files that don't have the `.do` file extension cause an error #31

Closed luisesanmartin closed 5 months ago

luisesanmartin commented 6 months ago

Tried reprun with a main do-file with the following line:

do "$dos/01_01_Matching_Harmonize_HBS"

and it returned an error saying :

`file C:/Users/wb532468/OneDrive - WBG/Rep-checks/FY24/RR_BGR_2024_93/code\Do/01_01_Matching_Harmonize_HBS not
    found
r(601);

but then I added the .do extension in the sub do-file and it worked. I think it would be better if it recognized that the sub do-file just doesn't have the extension

bbdaniels commented 6 months ago

To clarify -- the issue here is that there is no extension in the code, not in the file, right?