Skip to content

Commit

Permalink
Update docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-vm committed Dec 11, 2024
1 parent b84bd97 commit 7ad61b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pelicun/file_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ad61b0

Please sign in to comment.