From 22878be0c52bd323dc8cf370297c7bc2fbc39c02 Mon Sep 17 00:00:00 2001 From: Chris Kerr Date: Sat, 22 Apr 2017 12:34:02 +0200 Subject: [PATCH] Explicitly coerce size-1 array to scalar Fixes #4 --- galvani/BioLogic.py | 1 + 1 file changed, 1 insertion(+) diff --git a/galvani/BioLogic.py b/galvani/BioLogic.py index 3b3afb4..4143fb2 100644 --- a/galvani/BioLogic.py +++ b/galvani/BioLogic.py @@ -287,6 +287,7 @@ class MPRfile: n_data_points = np.fromstring(data_module['data'][:4], dtype='