From 3ce036005a98b585ba6ef3ac2794f4f63a6678c9 Mon Sep 17 00:00:00 2001 From: Robert Timms Date: Tue, 15 Oct 2019 16:36:14 +0100 Subject: [PATCH] #617 codacy --- pybamm/meshes/scikit_fem_submeshes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybamm/meshes/scikit_fem_submeshes.py b/pybamm/meshes/scikit_fem_submeshes.py index 604d058cbd..bfb76ef9d2 100644 --- a/pybamm/meshes/scikit_fem_submeshes.py +++ b/pybamm/meshes/scikit_fem_submeshes.py @@ -217,7 +217,7 @@ def __init__(self, lims, npts, tabs, side="top", stretch=2.3): # check side is top if side != "top": raise pybamm.GeometryError( - "At present, side can only be 'top', but is set to ".format(side) + "At present, side can only be 'top', but is set to {}".format(side) ) # check that two variables have been passed in