From b08c2f44350d29c5d6335f5b6ac4aa3dddd5bb14 Mon Sep 17 00:00:00 2001 From: Chris Kerr Date: Sat, 16 Mar 2019 13:43:26 +0100 Subject: [PATCH] Use `array.item()` instead of `np.asscalar()` --- galvani/BioLogic.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/galvani/BioLogic.py b/galvani/BioLogic.py index c63342d..df954d2 100644 --- a/galvani/BioLogic.py +++ b/galvani/BioLogic.py @@ -327,8 +327,7 @@ class MPRfile: maybe_log_module = [m for m in modules if m['shortname'] == b'VMP LOG '] n_data_points = np.frombuffer(data_module['data'][:4], dtype='