Skip to content

Commit

Permalink
simplify and keep using region for now
Browse files Browse the repository at this point in the history
  • Loading branch information
changliao1025 committed May 7, 2024
1 parent dba3560 commit 3d2c47e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/susquehanna/run_simulation_mpas.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


#%% Define the case information (configuration file parameters)
sDomainName = 'susquehanna'
sRegion = 'susquehanna'
iCase_index = 1
iFlag_simulation = 0
iFlag_visualization = 1
Expand All @@ -21,9 +21,9 @@

# Define the full path to the input and output folders.
oFolder_input = oPath_parent.joinpath(
'data', sDomainName, 'input')
'data', sRegion, 'input')
oFolder_output = oPath_parent.joinpath(
'data', sDomainName, 'output')
'data', sRegion, 'output')

# Define the full path to the domain ("parent") configuration file.
oFilename_domain_config = oFolder_input.joinpath(
Expand Down
2 changes: 1 addition & 1 deletion pyflowline/configuration/change_json_key_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import shutil
import tempfile

def pyflowline_change_json_key_value(sFilename_json_in, sKey, new_value, iFlag_basin_in=None):
def change_json_key_value(sFilename_json_in, sKey, new_value, iFlag_basin_in=None):
"""
Change the value associated with the specified key in a JSON file safely.
Expand Down

0 comments on commit 3d2c47e

Please sign in to comment.