Skip to content

Commit

Permalink
fix CatmaidNeuron.get_skeleton: rename kwargs->fetch_kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Jun 7, 2019
1 parent 6ddaba9 commit a4047b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pymaid/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,12 +467,12 @@ def copy(self, deepcopy=False):

return x

def get_skeleton(self, remote_instance=None, **kwargs):
def get_skeleton(self, remote_instance=None, **fetch_kwargs):
"""Get/Update skeleton data for neuron.
Parameters
----------
**kwargs
**fetch_kwargs
Will be passed to :func:`pymaid.get_neuron` e.g. to get
the full treenode history use::
Expand All @@ -496,9 +496,9 @@ def get_skeleton(self, remote_instance=None, **kwargs):
remote_instance = self._remote_instance
logger.info('Retrieving skeleton data...')
skeleton = fetch.get_neuron(self.skeleton_id,
remote_instance,
remote_instance=remote_instance,
return_df=True,
kwargs=kwargs).iloc[0]
fetch_kwargs=fetch_kwargs).iloc[0]

self.nodes = skeleton.nodes
self.connectors = skeleton.connectors
Expand Down

0 comments on commit a4047b4

Please sign in to comment.