Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Jan 15, 2020
1 parent 837397a commit a212e1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tei2imxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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" )
Expand Down

0 comments on commit a212e1f

Please sign in to comment.