<commit_before>anchor_name = "tree_of_life"
title = "Tree of life"
short_description = "the single draft tree of life that is a combination of the source trees and the opentree reference taxonomy"
long_description = """Methods to access information about and representations of the (current) draft tree of life. These methods do not accept taxon names as input, but instead require either:
- Open Tree Taxonomy identifiers (ott ids), which can be determined by using the [taxonomic name resolution services](#tnrs), or
- Graph of life node ids, which can be determined using various methods such as [mrca](#mrca).

Detailed descriptions for each method follow below the summary table."""

methods_list = []

# about
methods_list.append({
    "anchor_name" : "about_tree",
    "method_name" : "about (tree of life)",
    "short_description" : "Return information about the current draft tree itself, including a list of source trees and the taxonomy used to build it.",
    "http_verb" : "POST",
    "relative_url" : "/tree_of_life/about",
#    "neo4j_service_url" : "http://devapi.opentreeoflife.org/treemachine/ext/tree_of_life/graphdb/about",
    "example_command" : "",
    "example_result" : "",
})

# mrca
methods_list.append({
    "anchor_name" : "mrca",
    "method_name" : "mrca",
    "short_description" : "Return the most recent common ancestor of a set of nodes in the draft tree.",
    "http_verb" : "POST",
    "relative_url" : "/tree_of_life/mrca",
#    "neo4j_service_url" : "http://devapi.opentreeoflife.org/treemachine/ext/tree_of_life/graphdb/mrca",
    "example_command" : "",
    "example_result" : "",
})

# subtree
methods_list.append({
    "anchor_name" : "subtree_tree",
    "method_name" : "subtree (tree of life)",
    "short_description" : "Return the complete subtree below a given node.",
    "http_verb" : "POST",
    "relative_url" : "/tree_of_life/subtree",
#    "neo4j_service_url" : "http://devapi.opentreeoflife.org/treemachine/ext/tree_of_life/graphdb/subtree",
    "example_command" : "",
    "example_result" : "",
})

# induced_subtree
methods_list.append({
    "anchor_name" : "induced_subtree",
    "method_name" : "induced_subtree",
    "short_description" : "Return the induced subtree on the draft tree that relates a set of nodes.",
    "http_verb" : "POST",
    "relative_url" : "/tree_of_life/induced_subtree",
#    "neo4j_service_url" : "http://devapi.opentreeoflife.org/treemachine/ext/tree_of_life/graphdb/induced_subtree",
    "example_command" : "",
    "example_result" : "",
})
<commit_msg>Update tree_of_life.py<commit_after>anchor_name = "tree_of_life"
title = "Tree of life"
short_description = "the single draft tree of life that is a combination of the source trees and the opentree reference taxonomy"
long_description = """Methods to access information about and representations of the (current) draft tree of life. These methods do not accept taxon names as input, but instead require either:
- Open Tree Taxonomy identifiers (ott ids), which can be determined by using the [taxonomic name resolution services](#tnrs), or
- Graph of life node ids, which can be determined using various methods such as [mrca](#mrca).

Detailed descriptions for each method follow below the summary table."""

methods_list = []

# about
methods_list.append({
    "anchor_name" : "about_tree",
    "method_name" : "about (tree of life)",
    "short_description" : "Return information about the current draft tree itself, including a list of source trees and the taxonomy used to build it.",
    "http_verb" : "POST",
    "relative_url" : "/tree_of_life/about",
    "neo4j_service_url" : "http://devapi.opentreeoflife.org/treemachine/ext/tree_of_life/graphdb/about",
    "example_command" : "",
    "example_result" : "",
})

# mrca
methods_list.append({
    "anchor_name" : "mrca",
    "method_name" : "mrca",
    "short_description" : "Return the most recent common ancestor of a set of nodes in the draft tree.",
    "http_verb" : "POST",
    "relative_url" : "/tree_of_life/mrca",
    "neo4j_service_url" : "http://devapi.opentreeoflife.org/treemachine/ext/tree_of_life/graphdb/mrca",
    "example_command" : "",
    "example_result" : "",
})

# subtree
methods_list.append({
    "anchor_name" : "subtree_tree",
    "method_name" : "subtree (tree of life)",
    "short_description" : "Return the complete subtree below a given node.",
    "http_verb" : "POST",
    "relative_url" : "/tree_of_life/subtree",
    "neo4j_service_url" : "http://devapi.opentreeoflife.org/treemachine/ext/tree_of_life/graphdb/subtree",
    "example_command" : "",
    "example_result" : "",
})

# induced_subtree
methods_list.append({
    "anchor_name" : "induced_subtree",
    "method_name" : "induced_subtree",
    "short_description" : "Return the induced subtree on the draft tree that relates a set of nodes.",
    "http_verb" : "POST",
    "relative_url" : "/tree_of_life/induced_subtree",
    "neo4j_service_url" : "http://devapi.opentreeoflife.org/treemachine/ext/tree_of_life/graphdb/induced_subtree",
    "example_command" : "",
    "example_result" : "",
})

{'fraction_non_alphanumeric': 0.12625171804437463, 'fraction_numerical': 0.0015707834282348322, 'mean_word_length': 4.413390010626992, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5195387', 'n_tokens_mistral': 1656, 'n_tokens_neox': 1635, 'n_words': 445}