From 04c10940f1ee9eb2539ee27bf2972346f0d4a826 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 13 Feb 2024 00:35:40 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- example/example_writer.py | 1 + python/copclib/mp/read.py | 1 + 2 files changed, 2 insertions(+) diff --git a/example/example_writer.py b/example/example_writer.py index 79cdab26..2b13c02a 100644 --- a/example/example_writer.py +++ b/example/example_writer.py @@ -8,6 +8,7 @@ if not os.path.exists(os.path.join(os.path.join(DATADIRECTORY, "out"))): os.makedirs(os.path.join(DATADIRECTORY, "out")) + # In this example, we'll filter the autzen dataset to only contain depth levels 0-3. def TrimFileExample(compressor_example_flag): diff --git a/python/copclib/mp/read.py b/python/copclib/mp/read.py index e2a90df3..01f0be98 100644 --- a/python/copclib/mp/read.py +++ b/python/copclib/mp/read.py @@ -4,6 +4,7 @@ import concurrent.futures + # Initialize each multiprocessing thread with a copy of the copc reader def init_mp(copc_path): _read_node.copc_reader = copc.FileReader(copc_path)