Skip to content

Commit

Permalink
split_axon_dendrite: fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Nov 16, 2020
1 parent 5c556ea commit e28f5c2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions navis/morpho/manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,9 @@ def prune_twigs(x: NeuronObject,


def split_axon_dendrite(x: NeuronObject,
metric: Union[Literal['centrifugal'],
Literal['centripetal'],
Literal['sum'],
Literal['bending'],
Literal['segregation']] = 'segregation',
metric: Union[Literal['flow_centrality'],
Literal['bending_flow'],
Literal['segregation_index']] = 'flow_centrality',
flow_thresh: float = .9,
split: Union[Literal['prepost'],
Literal['distance']] = 'prepost',
Expand Down

0 comments on commit e28f5c2

Please sign in to comment.