src/parsers/bvh_converter.py [187:203]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        for file_name in list(os.walk(folder_path))[0][2]:
            if file_name in cls.ignore_files:
                continue
            if file_name.endswith(".bvh"):
                file_paths.append(os.path.join(folder_path, file_name))

                if count_frames:
                    with open(file_paths[-1]) as f:
                        line = ""
                        while "Frames: " not in line:
                            line = f.readline()
                        frames += int(line.split(":    ")[1])

        if count_frames:
            print(f"frames: {frames}")

        return file_paths
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/parsers/unoc_parser.py [115:131]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        for file_name in list(os.walk(folder_path))[0][2]:
            if file_name in cls.ignore_files:
                continue
            if file_name.endswith(".bvh"):
                file_paths.append(os.path.join(folder_path, file_name))

                if count_frames:
                    with open(file_paths[-1]) as f:
                        line = ""
                        while "Frames: " not in line:
                            line = f.readline()
                        frames += int(line.split(":    ")[1])

        if count_frames:
            print(f"frames: {frames}")

        return file_paths
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



