From 74be0366a30b667daa708e3410546f2b87ad9aa9 Mon Sep 17 00:00:00 2001 From: Anton Steketee <79179784+anton-seaice@users.noreply.github.com> Date: Wed, 23 Oct 2024 16:13:08 +1100 Subject: [PATCH] Syntax error in access.py (#533) This fixes a syntax error: access_restarts.append(['u_star.nc', 'sicemass.nc']) should be access_restarts.extend(['u_star.nc', 'sicemass.nc']) --- payu/models/access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payu/models/access.py b/payu/models/access.py index 50f03e23..80769a3b 100644 --- a/payu/models/access.py +++ b/payu/models/access.py @@ -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