Skip to content

Commit

Permalink
Syntax error in access.py (#533)
Browse files Browse the repository at this point in the history
This fixes a syntax error: 
access_restarts.append(['u_star.nc', 'sicemass.nc']) should be access_restarts.extend(['u_star.nc', 'sicemass.nc'])
  • Loading branch information
anton-seaice authored Oct 23, 2024
1 parent 7c885b8 commit 74be036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payu/models/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, expt, name, config):
model.get_ptr_restart_dir = model.get_access_ptr_restart_dir

if model.model_type == 'cice5':
model.access_restarts.append(['u_star.nc', 'sicemass.nc'])
model.access_restarts.extend(['u_star.nc', 'sicemass.nc'])

if model.model_type == 'cice':
# Structure of model coupling namelist
Expand Down

0 comments on commit 74be036

Please sign in to comment.