Skip to content

Commit

Permalink
Yet more PEP8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanheerdegen committed May 13, 2020
1 parent 2c79b0b commit 91eff4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions payu/models/mitgcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ def setup(self):
sys.exit(1)

if n_iter0 + n_timesteps == n_iter0_previous:
mesg=('payu : error: Timestep changed to {dt}. '
'Timestep at end identical to previous pickups: '
'{niter}\nThis would overwrite previous '
'pickups'.format(dt=dt, niter=(n_iter0 + n_timesteps)))
mesg = ('payu : error: Timestep changed to {dt}. '
'Timestep at end identical to previous pickups: '
'{niter}\nThis would overwrite previous '
'pickups'.format(dt=dt, niter=(n_iter0 + n_timesteps)))
sys.exit(mesg)

t_end = t_start + dt * n_timesteps
Expand Down
2 changes: 1 addition & 1 deletion test/models/test_mitgcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def teardown_module(module):

def make_pickup_names(istep):

return ['pickup.{:010d}.001.001.{}'.format(istep, type)
return ['pickup.{:010d}.001.001.{}'.format(istep, type)
for type in ['data', 'meta']]


Expand Down

0 comments on commit 91eff4c

Please sign in to comment.