pymaid.push_new_root

pymaid.push_new_root(new_root, no_prompt=False, remote_instance=None)[source]

Reroot neuron on server.

Parameters:
  • new_root (int) – ID of new root.

  • no_prompt (bool, optional) – By default, you will be prompted to confirm before reroot. Set this to True to skip that step.

  • remote_instance (CatmaidInstance, optional) – If not passed directly, will try using global.

Return type:

server response

See also

reroot_skeleton()

Use to reroot a local CatmaidNeuron.