From 70e28d987fe23241f06e9461b851cf9a04a71dfc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Mar 2023 22:46:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- echopype/utils/io.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/echopype/utils/io.py b/echopype/utils/io.py index 0f8f16743b..bb9a42aa1f 100644 --- a/echopype/utils/io.py +++ b/echopype/utils/io.py @@ -13,9 +13,9 @@ from fsspec import FSMap from fsspec.implementations.local import LocalFileSystem +from ..core import ECHOPYPE_DIR from ..utils.coding import set_storage_encodings from ..utils.log import _init_logger -from ..core import ECHOPYPE_DIR if TYPE_CHECKING: from ..core import PathHint @@ -156,13 +156,13 @@ def validate_output_path( ) -> str: """ Assembles output file names and path. - + The final resulting file will be saved as provided in save path. If a directory path is provided then the final file name will use the same name as the source file and saved within the directory path in `save_path` or echopype's `temp_output` directory. - Example 1. + Example 1. source_file - test.raw engine - zarr save_path - /path/dir/ @@ -192,7 +192,7 @@ def validate_output_path( Either a directory or a file path. If it's not provided, we will save output file(s) in the echopype's `temp_output` directory. - + Returns ------- str @@ -201,7 +201,7 @@ def validate_output_path( Raises ------ ValueError - If engine is not one of the supported output engine of + If engine is not one of the supported output engine of zarr or netcdf TypeError If `save_path` is not of type Path or str