From 9827e653eaa48c5a69bb465baf1899314979e229 Mon Sep 17 00:00:00 2001 From: damart Date: Mon, 19 Oct 2020 12:06:13 +0200 Subject: [PATCH] Fix missing output when dataset of one cell with non-zero efeature --- bluepyefe/extractor.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bluepyefe/extractor.py b/bluepyefe/extractor.py index 7bc5d8b..74f8496 100644 --- a/bluepyefe/extractor.py +++ b/bluepyefe/extractor.py @@ -1583,11 +1583,9 @@ def create_feature_config(self, directory, dataset, version=None): str(target)] if boxcox: - do_add = ~numpy.isnan(bcm) and ( - (bcs > 0.0) or (bcm == 0.0)) + do_add = ~numpy.isnan(bcm) else: - do_add = ~numpy.isnan(m) and ( - (s > 0.0) or (m == 0.0)) + do_add = ~numpy.isnan(m) if do_add: