<commit_before># -*- coding: utf-8 -*-
import logging
import os
from osgeo import gdal, ogr
from mock import Mock, patch, call, MagicMock,ANY
from uuid import uuid4
from django.test import TestCase


from ..gdalutils import open_ds, cleanup_ds, clip_dataset, convert, driver_for, get_transform, get_distance, \
    get_dimensions, get_line, merge_geotiffs, get_meta


logger = logging.getLogger(__name__)


class TestGdalUtils(TestCase):
    def setUp(self, ):
        self.path = os.path.dirname(os.path.realpath(__file__))<commit_msg>driver_for was replaced with get_meta<commit_after># -*- coding: utf-8 -*-
import logging
import os
from osgeo import gdal, ogr
from mock import Mock, patch, call, MagicMock,ANY
from uuid import uuid4
from django.test import TestCase


from ..gdalutils import open_ds, cleanup_ds, clip_dataset, convert, get_transform, get_distance, \
    get_dimensions, get_line, merge_geotiffs, get_meta


logger = logging.getLogger(__name__)


class TestGdalUtils(TestCase):
    def setUp(self, ):
        self.path = os.path.dirname(os.path.realpath(__file__))
{'fraction_non_alphanumeric': 0.09501845018450185, 'fraction_numerical': 0.0036900369003690036, 'mean_word_length': 4.833333333333333, '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': '814832', 'n_tokens_mistral': 345, 'n_tokens_neox': 342, 'n_words': 100}