Skip to content

Commit

Permalink
Merge branch 'NHERI-SimCenter:master' into brails-buildings_widget
Browse files Browse the repository at this point in the history
  • Loading branch information
bacetiner authored Aug 15, 2024
2 parents f0e8e64 + a2a67de commit 090b90e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/spell_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install codespell
run: |
python -m pip install --upgrade pip
pip install codespell
pip install tomli codespell
- name: Run codespell
run: |
Expand Down
4 changes: 3 additions & 1 deletion modules/performREC/pyrecodes/run_pyrecodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def run_pyrecodes(rec_config, inputRWHALE, parallelType, mpiExec, numPROC): # n
comm.Barrier()

# if rank 0, gather result_agg and resilience_results, write to file
# note that the gathered results dosen't follow the order in realization_to_run
# note that the gathered results doesn't follow the order in realization_to_run
# but this order is not needed when calculating mean and std
if doParallel:
# gather results_agg
Expand Down Expand Up @@ -494,6 +494,7 @@ def select_realizations_to_run(damage_input, inputRWHALE): # noqa: N803, D103

with open(Path(wfArgs.configJsonPath).resolve(), 'r') as f: # noqa: PTH123, UP015
rec_config = json.load(f)

with open(Path(wfArgs.inputRWHALEPath).resolve(), 'r') as f: # noqa: PTH123, UP015
inputRWHALE = json.load(f) # noqa: N816
run_pyrecodes(
Expand All @@ -503,3 +504,4 @@ def select_realizations_to_run(damage_input, inputRWHALE): # noqa: N803, D103
mpiExec=wfArgs.mpiexec,
numPROC=numPROC,
)

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ quote-style = "single"

[tool.codespell]
ignore-words = ["ignore_words.txt"]
skip = ["*.html", "NGAWest2.csv", "./applications/*"]
skip = ["*.html", "NGAWest2.csv", "./applications/*", "./build/*"]

0 comments on commit 090b90e

Please sign in to comment.