Skip to content

Commit

Permalink
Merge pull request #19 from BlueBrain/one_cell
Browse files Browse the repository at this point in the history
Fix missing output when dataset of one cell with non-zero efeature
  • Loading branch information
DrTaDa committed Oct 19, 2020
2 parents f49af2a + 9827e65 commit ee8bfa0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bluepyefe/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit ee8bfa0

Please sign in to comment.