PyOPIA 2.16.2__tar.gz → 2.16.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyopia-2.16.2 → pyopia-2.16.3}/PKG-INFO +1 -1
- pyopia-2.16.3/pyopia/__init__.py +1 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/cli.py +15 -0
- pyopia-2.16.2/pyopia/__init__.py +0 -1
- {pyopia-2.16.2 → pyopia-2.16.3}/.gitignore +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/LICENSE +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/README.md +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/auxillarydata.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/background.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/cf_metadata.json +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/classify.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/classify_torch.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/dataexport/__init__.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/dataexport/ecotaxa.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/exampledata.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/instrument/__init__.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/instrument/common.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/instrument/holo.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/instrument/silcam.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/instrument/uvp.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/io.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/metadata.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/pipeline.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/plotting.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/process.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/realtime.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/simulator/__init__.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/simulator/silcam.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/statistics.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/tests/__init__.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/tests/test_auxillarydata.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/tests/test_classify.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/tests/test_io.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/tests/test_notebooks.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/tests/test_pipeline.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/tests/test_process.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyopia/tests/test_realtime.py +0 -0
- {pyopia-2.16.2 → pyopia-2.16.3}/pyproject.toml +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.16.3"
|
|
@@ -371,6 +371,21 @@ def process_realtime(config_filename: str, watch_folder: str = None):
|
|
|
371
371
|
# Load config and setup logging
|
|
372
372
|
pipeline_config = pyopia.io.load_toml(config_filename)
|
|
373
373
|
setup_logging(pipeline_config)
|
|
374
|
+
|
|
375
|
+
# Create output folders
|
|
376
|
+
if "output" not in pipeline_config["steps"]:
|
|
377
|
+
raise RuntimeError(
|
|
378
|
+
'The given config file is missing an "output" step.\n'
|
|
379
|
+
+ "This is needed to setup how to save data to disc."
|
|
380
|
+
)
|
|
381
|
+
if "output_datafile" not in pipeline_config["steps"]["output"]:
|
|
382
|
+
raise RuntimeError(
|
|
383
|
+
'The given config file is missing "output_datafile" option in the "output" step.\n'
|
|
384
|
+
+ "This is needed to setup how to save data to disc."
|
|
385
|
+
)
|
|
386
|
+
output_datafile = pipeline_config["steps"]["output"]["output_datafile"]
|
|
387
|
+
os.makedirs(os.path.split(output_datafile)[:-1][0], exist_ok=True)
|
|
388
|
+
|
|
374
389
|
pyopia.realtime.run_realtime(pipeline_config, watch_folder=watch_folder)
|
|
375
390
|
|
|
376
391
|
|
pyopia-2.16.2/pyopia/__init__.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.16.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|