neat.MorphTree._tryName

MorphTree._tryName(name)[source]

Tests if the name is in use. Raises a KeyError when it is not in use and prints a list of possible names

Parameters

name (string) – name of the desired list of locations

Raises

KeyError – If ‘name’ does not refer to a set of locations in use