def run(self, module_config):
        if hasattr(self, "__submodules__"):
            try:
                self.__submodules__[module_config.sub_action]['action'](module_config)
            except __HOLE__:
                self.__submodules__["default"]['action'](module_config)
        else:
            raise NotImplemented("Run method must be override")


# ----------------------------------------------------------------------
dataset/ETHPy150Open cr0hn/enteletaor/enteletaor_lib/modules/__init__.py/IModule.run