@@ -0,0 +1,600 @@
+%22%22%22Reads and parses a configuration file for the ILAMB BMI.%22%22%22%0A%0Aimport yaml%0A%0A%0Ailamb_root_key = 'ilamb_root'%0A%0A%0Aclass Configuration(object):%0A%0A    def __init__(self):%0A        self._config = %7B%7D%0A%0A    def load(self, filename):%0A        with open(filename, 'r') as fp:%0A            self._config = yaml.load(fp)%0A%0A    def get_ilamb_root(self):%0A        return self._config.get(ilamb_root_key)%0A%0A    def get_arguments(self):%0A        args = %5B%5D%0A        for k, v in self._config.iteritems():%0A            if k != ilamb_root_key:%0A                args.append('--' + k)%0A                args.append(v)%0A        return args%0A

Add module for reading and parsing ILAMB BMI config file