From 528718df5a66d5a98a26cae08d43af1fdd3ecc45 Mon Sep 17 00:00:00 2001 From: John Vouvakis Manousakis Date: Sun, 19 May 2024 05:52:53 -0700 Subject: [PATCH] Black. --- pelicun/tests/test_base.py | 1 + pelicun/tools/DL_calculation.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pelicun/tests/test_base.py b/pelicun/tests/test_base.py index d283a4ded..0454f5608 100644 --- a/pelicun/tests/test_base.py +++ b/pelicun/tests/test_base.py @@ -211,6 +211,7 @@ def test_logger_div(): # simply check that it is not empty assert f.read() + def test_split_file_name(): file_path = "example.file.name.txt" name, extension = base.split_file_name(file_path) diff --git a/pelicun/tools/DL_calculation.py b/pelicun/tools/DL_calculation.py index a08fd61c7..e552256b7 100644 --- a/pelicun/tools/DL_calculation.py +++ b/pelicun/tools/DL_calculation.py @@ -440,7 +440,7 @@ def run_pelicun( config_ap['DL']['Outputs']['Settings'].update( regional_out_config['Settings'] - ) + ) # save the extended config to a file config_ap_path = Path(config_path.stem + '_ap.json').resolve()