def __init__(self, *args, **kwargs):
self.filename = kwargs.pop('<STR_LIT:filename>', CONFIGNAME)<EOL>super(GMXConfigParser, self).__init__(*args, **kwargs)<EOL>self.set('<STR_LIT>', '<STR_LIT>',<EOL>os.path.join("<STR_LIT>", os.path.basename(defaults['<STR_LIT>'])))<EOL>self.set('<STR_LIT>', '<STR_LIT>',<EOL>os.path.join("<STR_LIT>", os.path.basename(defaults['<STR_LIT>'])))<EOL>self.add_section('<STR_LIT>')<EOL>self.set("<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>self.set("<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>self.set("<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>self.set("<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>self.set("<STR_LIT>", "<STR_LIT>", "<STR_LIT>")<EOL>self.set("<STR_LIT>", "<STR_LIT>", "<STR_LIT:yes>")<EOL>self.add_section('<STR_LIT>')<EOL>self.set('<STR_LIT>', '<STR_LIT>', defaults['<STR_LIT>'])<EOL>self.set('<STR_LIT>', '<STR_LIT>', defaults['<STR_LIT>'])<EOL>self.set('<STR_LIT>', '<STR_LIT>', defaults['<STR_LIT>'])<EOL>default_cfg = get_template(self.cfg_template)<EOL>self.read_file(open(default_cfg))<EOL>self.read([self.filename])<EOL>
Reads and parses the configuration file.

        Default values are loaded and then replaced with the values from
        ``~/.gromacswrapper.cfg`` if that file exists. The global
        configuration instance :data:`gromacswrapper.config.cfg` is updated
        as are a number of global variables such as :data:`configdir`,
        :data:`qscriptdir`, :data:`templatesdir`, :data:`logfilename`, ...

        Normally, the configuration is only loaded when the :mod:`gromacswrapper`
        package is imported but a re-reading of the configuration can be forced
        anytime by calling :func:`get_configuration`.