def _get_study_name_from_url(tree_input_url):
    """Name of study is the URL part after 'trees'"""
    parts = tree_input_url.split('/')
    trees_index = parts.index('trees')
    study_name = parts[trees_index + 1]
    return study_name
