Skip to content

Commit

Permalink
test predict_connectivity: make sure to grab downstream neuron as target
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Feb 6, 2019
1 parent b050e56 commit ead35f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pymaid/tests/test_pymaid.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,8 @@ def setUp(self):
self.cn_table = pymaid.get_partners(config_test.test_skids[0],
remote_instance=self.rm)

self.nB = pymaid.get_neuron(self.cn_table.iloc[0].skeleton_id,
# Must be downstream for predict_connectivity
self.nB = pymaid.get_neuron(self.cn_table[self.cn_table.relation=='downstream'].iloc[0].skeleton_id,
remote_instance=self.rm)

self.adj = pymaid.adjacency_matrix(
Expand Down

0 comments on commit ead35f2

Please sign in to comment.