neat.MorphTree.convert_loc_arg_to_locs¶
- MorphTree.convert_loc_arg_to_locs(loc_arg)[source]¶
Converts locations argument to list of neat.MorphLoc.
- Parameters:
loc_arg (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