def run_removecomments(nexus_obj, log):
    """
    Removes comments from the trees in a nexus

    :param nexus_obj: A `NexusReader` instance
    :type nexus_obj: NexusReader

    :return: A NexusReader instance with the comments removed.
    """
    new = []
    for tree in nexus_obj.trees:
        new.append(nexus_obj.trees.remove_comments(tree))
    log.info('Removed comments')
    nexus_obj.trees.trees = new
    return nexus_obj
