From 03fbb5156645e79e08ca81c357e42cde97c12d2e Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Wed, 28 Aug 2024 13:25:24 +0200 Subject: [PATCH] fix examples Signed-off-by: Michele Dolfi --- examples/batch_convert.py | 10 +++++----- examples/custom_convert.py | 6 +++--- examples/export_figures.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/batch_convert.py b/examples/batch_convert.py index 5d739b4b..063d4aa0 100644 --- a/examples/batch_convert.py +++ b/examples/batch_convert.py @@ -56,11 +56,11 @@ def main(): logging.basicConfig(level=logging.INFO) input_doc_paths = [ - Path("./test/data/2206.01062.pdf"), - Path("./test/data/2203.01017v2.pdf"), - Path("./test/data/2305.03393v1.pdf"), - Path("./test/data/redp5110.pdf"), - Path("./test/data/redp5695.pdf"), + Path("./tests/data/2206.01062.pdf"), + Path("./tests/data/2203.01017v2.pdf"), + Path("./tests/data/2305.03393v1.pdf"), + Path("./tests/data/redp5110.pdf"), + Path("./tests/data/redp5695.pdf"), ] # buf = BytesIO(Path("./test/data/2206.01062.pdf").open("rb").read()) diff --git a/examples/custom_convert.py b/examples/custom_convert.py index df8d3642..9d046d94 100644 --- a/examples/custom_convert.py +++ b/examples/custom_convert.py @@ -49,9 +49,9 @@ def main(): logging.basicConfig(level=logging.INFO) input_doc_paths = [ - Path("./test/data/2206.01062.pdf"), - Path("./test/data/2203.01017v2.pdf"), - Path("./test/data/2305.03393v1.pdf"), + Path("./tests/data/2206.01062.pdf"), + Path("./tests/data/2203.01017v2.pdf"), + Path("./tests/data/2305.03393v1.pdf"), ] ########################################################################### diff --git a/examples/export_figures.py b/examples/export_figures.py index 1928e43a..bdffbec1 100644 --- a/examples/export_figures.py +++ b/examples/export_figures.py @@ -22,7 +22,7 @@ def main(): logging.basicConfig(level=logging.INFO) input_doc_paths = [ - Path("./test/data/2206.01062.pdf"), + Path("./tests/data/2206.01062.pdf"), ] output_dir = Path("./scratch")