From 7ad61b0a4bdf93b8d74656ddfc88df9e2bef4338 Mon Sep 17 00:00:00 2001 From: John Vouvakis Manousakis Date: Wed, 11 Dec 2024 12:27:58 -0800 Subject: [PATCH] Update docstring. --- pelicun/file_io.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pelicun/file_io.py b/pelicun/file_io.py index 762e7e48..05c7df69 100644 --- a/pelicun/file_io.py +++ b/pelicun/file_io.py @@ -291,10 +291,11 @@ def substitute_default_path( Examples -------- - >>> data_paths = ['PelicunDefault/data/file1.txt', 'data/file2.txt'] + >>> data_paths = ['PelicunDefault/damage_DB_SimCenter_HU.csv', 'data/file2.txt'] >>> substitute_default_path(data_paths) - ['{base.pelicun_path}/resources/SimCenterDBDL/updated_path/file1_v2.txt', - 'data/file2.txt'] + ['{base.pelicun_path}/resources/DamageAndLossModelLibrary/' + 'hurricane/building/component/fragility.csv', + 'data/file2.txt'] """ # Load the resource paths from the JSON file