From 8bba457cd7fb012ac1f54def3d392529855814f9 Mon Sep 17 00:00:00 2001 From: Scott Staniewicz Date: Tue, 29 Oct 2024 06:33:05 -0700 Subject: [PATCH] Add logging to cli timeseries --- src/dolphin/_cli_timeseries.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dolphin/_cli_timeseries.py b/src/dolphin/_cli_timeseries.py index 70eddec4..480441a6 100644 --- a/src/dolphin/_cli_timeseries.py +++ b/src/dolphin/_cli_timeseries.py @@ -3,6 +3,7 @@ from pathlib import Path from typing import TYPE_CHECKING, Any +from dolphin._log import setup_logging from dolphin.timeseries import InversionMethod from dolphin.workflows import CallFunc @@ -177,6 +178,7 @@ def _run_timeseries(*args, **kwargs): """ from dolphin import timeseries + setup_logging() return timeseries.run(*args, **kwargs) @@ -184,6 +186,7 @@ def main(args=None): """Get the command line arguments for timeseries inversion.""" from dolphin import timeseries + setup_logging() parser = get_parser() parsed_args = parser.parse_args(args)