<commit_before>import argparse
from .dimension_order import DimensionOrder
from .quadrat_builder import QuadratBuilder
from .quadrilateral import Quadrilateral
from .vertex import Vertex
from .mesh_io import read_obj, write_csv
import pdb
import sys


def _read_in_meshes(args):
    """
    Reads in mesh file(s) in .obj format and stores them in a
    corresponding mesh objects

    Args:
        args: List of command line arguments

    Returns:
        A list of mesh objects, essentially a collection of faces
    """

    if args.verbose:
        print("Starting to read the mesh files...")

    meshes = map(lambda x: read_obj(x, args.verbose, DimensionOrder(args.dim)), args.meshes)

    if args.verbose:
        print("Finished reading in the mesh files.")
    return meshes
<commit_msg>Updated for python3<commit_after>import argparse
from .dimension_order import DimensionOrder
from .quadrat_builder import QuadratBuilder
from .quadrilateral import Quadrilateral
from .vertex import Vertex
from .mesh_io import read_obj, write_csv
import pdb
import sys


def _read_in_meshes(args):
    """
    Reads in mesh file(s) in .obj format and stores them in a
    corresponding mesh objects

    Args:
        args: List of command line arguments

    Returns:
        A list of mesh objects, essentially a collection of faces
    """

    if args.verbose:
        print("Starting to read the mesh files...")

    meshes = map(lambda x: read_obj(x, args.verbose, DimensionOrder(args.dim)), args.meshes)

    if args.verbose:
        print("Finished reading in the mesh files.")
    return list(meshes)

{'fraction_non_alphanumeric': 0.06973848069738481, 'fraction_numerical': 0.0006226650062266501, 'mean_word_length': 3.3315363881401616, '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': '567378', 'n_tokens_mistral': 465, 'n_tokens_neox': 446, 'n_words': 176}