From a212e1f1e95295a9dc3f4c7e7b0add535b4f10e8 Mon Sep 17 00:00:00 2001 From: kthoden Date: Wed, 15 Jan 2020 18:19:40 +0100 Subject: [PATCH] Fix paths --- src/tei2imxml.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tei2imxml.py b/src/tei2imxml.py index c2c608c..2d877dc 100755 --- a/src/tei2imxml.py +++ b/src/tei2imxml.py @@ -1340,16 +1340,16 @@ def main(): INPUT_PATH = \ args.filename if args.filename . is_absolute() else list( INPUT_DIR . glob( str(args.filename) ))[0] OUTPUT_DIR = \ - args.output_dir if args.output_dir is not None else (DEFAULT_OUTPUT_DIR / INPUT_DIR.resolve().stem) / "imxm" + args.output_dir if args.output_dir is not None else (DEFAULT_OUTPUT_DIR / INPUT_DIR.resolve().stem) / "imxml" PICKLE_DIR = \ - args.pickledata if args.pickleddata is not None else (DEFAULT_OUTPUT_DIR / INPUT_DIR.resolve().stem) / "pickle" + args.pickleddata if args.pickleddata is not None else (DEFAULT_OUTPUT_DIR / INPUT_DIR.resolve().stem) / "pickle" PICKLE_FILE = PICKLE_DIR / "data.pickle" LOG_DIR = OUTPUT_DIR / "log" TEMP_DIR = OUTPUT_DIR / "tmp_files" DEBUG_DIR = OUTPUT_DIR / "debug" - HI_XML_FILE = OUTPUT_DIR / "../../hyperimage/hi_figures.xml" + HI_XML_FILE = OUTPUT_DIR / "../../../hyperimage/hi_figures.xml" # where to output the xml file: XML_FILE = (OUTPUT_DIR / INPUT_PATH.name) .with_suffix( ".xml" )