<commit_before>import csv
import re
import logging
from os import listdir
from os.path import isfile, join

from dipper.sources.Source import Source
from dipper.models.assoc.D2PAssoc import D2PAssoc
from dipper.models.Genotype import Genotype
from dipper.models.Dataset import Dataset
from dipper.utils.GraphUtils import GraphUtils
from dipper import curie_map


logger = logging.getLogger(__name__)


class Monarch(Source):
    """
    This is the parser for data curated by the
    [Monarch Initiative](http://monarchinitiative.org).
    Data is currently maintained in a private repository, soon to be released.

    """

    def __init__(self):
        Source.__init__(self, 'monarch')

        self.dataset = Dataset(
            'monarch', 'MonarchInitiative', 'http://monarchinitiative.org',
            None, 'http://creativecommons.org/licenses/by/4.0/', None)<commit_msg>radd httpS to monarch<commit_after>import csv
import re
import logging
from os import listdir
from os.path import isfile, join

from dipper.sources.Source import Source
from dipper.models.assoc.D2PAssoc import D2PAssoc
from dipper.models.Genotype import Genotype
from dipper.models.Dataset import Dataset
from dipper.utils.GraphUtils import GraphUtils
from dipper import curie_map


logger = logging.getLogger(__name__)


class Monarch(Source):
    """
    This is the parser for data curated by the
    [Monarch Initiative](https://monarchinitiative.org).
    Data is currently maintained in a private repository, soon to be released.

    """

    def __init__(self):
        Source.__init__(self, 'monarch')

        self.dataset = Dataset(
            'monarch', 'MonarchInitiative', 'https://monarchinitiative.org',
            None, 'https://creativecommons.org/licenses/by/4.0/', None)
{'fraction_non_alphanumeric': 0.08911449520586577, 'fraction_numerical': 0.0045121263395375075, 'mean_word_length': 3.7688172043010755, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '1748055', 'n_tokens_mistral': 525, 'n_tokens_neox': 510, 'n_words': 158}