Skip to content

Commit b6ef8bc

Browse files
authored
Merge pull request #2147 from willend/main
Allow mcdoc to work with --dir .
2 parents 294f3bf + ab12b01 commit b6ef8bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/Python/mcdoc/mcdoc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,7 @@ def write_file(filename, text, failsilent=False):
879879

880880
def parse_and_filter(indir, namefilter=None, recursive=False, printlog=False):
881881
''' read and parse headers and definitions of component and instrument files '''
882+
indir=pathlib.Path(indir).resolve()
882883
instr_files, comp_files = utils.get_instr_comp_files(indir, recursive)
883884
print("parsing root folder:", indir)
884885
comp_info_lst = []

0 commit comments

Comments
 (0)