Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Make runWorkflows static
Browse files Browse the repository at this point in the history
  • Loading branch information
ManInFez authored and Andrea Brambilla committed Oct 18, 2019
1 parent de7adc3 commit e835a99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/res/enkf/enkf_simulation_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ def runEnsembleExperiment(self, job_queue, run_context):
""" @rtype: int """
return self.runSimpleStep(job_queue, run_context)


def runWorkflows(self , runtime):
@staticmethod
def runWorkflows( runtime, ert):
""":type res.enkf.enum.HookRuntimeEnum"""
hook_manager = self._enkf_main().getHookManager()
hook_manager.runWorkflows(runtime , self._enkf_main())
hook_manager = ert.getHookManager()
hook_manager.runWorkflows(runtime , ert)


def add_job(self, run_arg, res_config, job_queue):
Expand Down

0 comments on commit e835a99

Please sign in to comment.