Skip to content

Commit

Permalink
Merge pull request #45 from JaimeCalzadaNOAA/develop
Browse files Browse the repository at this point in the history
honor None when writing driver
  • Loading branch information
zacharyburnett authored Feb 12, 2021
2 parents e8ae990 + bd9f996 commit 72211f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adcircpy/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,10 +405,10 @@ def write(
if hotstart:
super().write('hotstart', output_directory / hotstart,
overwrite)
if isinstance(self._server_config, SlurmConfig):
driver = self._server_config._filename

if driver is not None:
if isinstance(self._server_config, SlurmConfig):
driver = self._server_config._filename
DriverFile(self).write(output_directory / driver, overwrite)

def import_stations(self, fort15):
Expand Down

0 comments on commit 72211f4

Please sign in to comment.