예제 #1
0
 def updateMask(self, gen_data_config, report_step, fs, active_mask,
                subst_list):
     run_arg = RunArg.createEnsembleExperimentRunArg(
         "run_id", fs, 0, "Path", "jobname", subst_list)
     load_context = ForwardLoadContext(run_arg=run_arg,
                                       report_step=report_step)
     self._update_active_mask(gen_data_config, load_context, active_mask)
예제 #2
0
 def test_create(self):
     ctx = ForwardLoadContext(report_step=1)
     self.assertEqual(1, ctx.getLoadStep())
 def updateMask(self, gen_data_config, report_step, fs, active_mask):
     run_arg = self._alloc_run_arg(fs, 0, 0, "Path")
     load_context = ForwardLoadContext(run_arg=run_arg,
                                       report_step=report_step)
     self._update_active_mask(gen_data_config, load_context, active_mask)