nappy/utils/parse_config.py
def makeAnnotationsConfigDict(af):
    """
    Parses annotations config file and returns dictionary of annotations.
    """
    ad = {}
    conf = MyCasePreservingConfigParser()
    conf.read(af)

    # Load up dict
    for item in conf.options("annotations"):
        value = conf.get("annotations", item)
        ad[item] = value

    return ad

    Parses annotations config file and returns dictionary of annotations.
    
Parses annotations config file and returns dictionary of annotations.
Parses annotations config file and returns dictionary of annotations .
def makeAnnotationsConfigDict(af):
    ad = {}
    conf = MyCasePreservingConfigParser()
    conf.read(af)
    for item in conf.options("annotations"):
        value = conf.get("annotations", item)
        ad[item] = value
    return ad
def makeAnnotationsConfigDict ( af ) : ad = { } conf = MyCasePreservingConfigParser ( ) conf . read ( af ) for item in conf . options ( "annotations" ) : value = conf . get ( "annotations" , item ) ad [ item ] = value return ad
Parses annotations config file and returns dictionary of annotations.
Parses annotations config file and returns dictionary of annotations .
"""
    Parses annotations config file and returns dictionary of annotations.
    """ # Load up dict

af