From 071fde81b5102a00879534be2c04e0d1af29a94c Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Fri, 4 Mar 2022 10:47:23 +0100 Subject: [PATCH] Fixed missing return in const case --- swash/processing/read_swash.py | 1 + 1 file changed, 1 insertion(+) diff --git a/swash/processing/read_swash.py b/swash/processing/read_swash.py index cc24b2c..9d1906b 100644 --- a/swash/processing/read_swash.py +++ b/swash/processing/read_swash.py @@ -27,6 +27,7 @@ class ReadSwash: self._data[path.stem] = self.read_nohead(path).reshape( (self._n_t, self._n_x) )[0, :] + return self._data[path.stem] = self.read_nohead(path).reshape( (self._n_t, self._n_x) )