+ # Create database if not present
+ db_file = config.get('sima', 'db_file')
+ if not isfile(db_file):
+ logger.debug('Creating database in "%s"', db_file)
+ open(db_file, 'a').close() # TODO: to remove with new simadb in v0.18
+ SimaDB(db_path=db_file).create_db()
+