def _response_cell_name_from_path(routing_path, neighbor_only=False):
 path = _reverse_path(routing_path)
 if ((not neighbor_only) or (len(path) == 1)):
  return path
 return _PATH_CELL_SEP.join(path.split(_PATH_CELL_SEP)[:2])

def _response_cell_name_from_path ( routing_path , neighbor_only = False ) : path = _reverse_path ( routing_path ) if ( ( not neighbor_only ) or ( len ( path ) == 1 ) ) : return path return _PATH_CELL_SEP . join ( path . split ( _PATH_CELL_SEP ) [ : 2 ] )
reverse the routing_path .