Skip to content

Commit

Permalink
allowing for NWS=8 in creating jon script
Browse files Browse the repository at this point in the history
  • Loading branch information
WPringle committed Sep 21, 2023
1 parent eb88a68 commit 4ef8702
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions adcircpy/server/driver_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ def _run_hotstart_phase(self) -> str:
'aswip\n'
f'mv NWS_{self._driver.NWS}_fort.22 fort.22\n'
)
elif self._driver.NWS in [8]:
f += 'ln -sf ../fort.22 ./fort.22\n'
else:
msg = f'unsupported NWS value {self._driver.NWS}'
raise NotImplementedError(msg)
Expand Down

0 comments on commit 4ef8702

Please sign in to comment.