neat.MorphTree._convertLocArgToLocs¶
-
MorphTree.
_convertLocArgToLocs
(locarg)[source]¶ Converts locations argument to list of neat.MorphLoc.
- Parameters
locarg (list of dictionaries, tuples or neat.MorphLoc, or string) –
If list, entries should be valid arguments to initialize a neat.MorphLoc
If string, should be the name of a list of locations stored in self
- Returns
List of locations, each referencing the current tree
- Return type
list of neat.MorphLoc