Skip to content

Commit

Permalink
BUGFIX: looking at the wrong layer when showing best functions
Browse files Browse the repository at this point in the history
  • Loading branch information
caiw committed Dec 7, 2023
1 parent 855a36d commit 6ace9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kymata/entities/expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def _best_functions_for_layer(self, layer: str) -> DataFrame:

best_functions = best_function[layer].data

best_latencies = best_latency[layer].sel({_HEXEL: self._channels, _FUNCTION: best_function[LAYER_LEFT]}).data
best_latencies = best_latency[layer].sel({_HEXEL: self._channels, _FUNCTION: best_function[layer]}).data

# Cut out channels which have a best p-val of 1
idxs = p_vals < 1
Expand Down

0 comments on commit 6ace9a6

Please sign in to comment.