Skip to content

Commit

Permalink
Minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
edeno committed Dec 11, 2017
1 parent 28abbf5 commit aa2e8c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion replay_classification/decoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@ def __init__(self, results, spikes=None):
self.spikes = spikes

def state_probability(self):
return self.results['posterior_density'].sum('position').to_series().unstack()
return (self.results['posterior_density'].sum('position')
.to_series().unstack())

def predicted_state(self):
state_probability = self.state_probability()
Expand Down

0 comments on commit aa2e8c5

Please sign in to comment.