From c7d8d52214d31d4df3f1a888c7a3e0f0443953f4 Mon Sep 17 00:00:00 2001 From: Wouter Peters <wouter.peters@wur.nl> Date: Mon, 6 Sep 2010 12:26:43 +0000 Subject: [PATCH] working on platform dependent implementation --- da/tools/pipeline.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/da/tools/pipeline.py b/da/tools/pipeline.py index 49ed57c8..3d483f21 100755 --- a/da/tools/pipeline.py +++ b/da/tools/pipeline.py @@ -27,21 +27,31 @@ def JobStart(opts,args): from da.tools.initexit import CycleControl from da.baseclasses.control import DaSystem from da.ct.tools import needed_rc_items + #from da.platform.jet import JetPlatForm as PlatForm + from da.baseclasses.jobcontrol import PlatForm # First create a CycleControl object that handles all the details of the da cycle - DaCycle = CycleControl(opts,args) + DaCycle = CycleControl(opts,args) # Next create a DaSystem object that contains all the details related to the DA system - DaSystem = DaSystem(DaCycle.da_settings['da.system.rc']) + DaSystem = DaSystem(DaCycle.da_settings['da.system.rc']) - dummy = DaSystem.Validate(needed_rc_items) + dummy = DaSystem.Validate(needed_rc_items) # And add the DaSystem info the DaCycle object DaCycle.DaSystem = DaSystem + # Next, get the information on the platform, and on the DaCycle + + DaPlatForm = PlatForm() + + # And add the DaPlatForm info the DaCycle object + + DaCycle.DaPlatForm = DaPlatForm + # Proceed with the initialization of this cycle dummy = DaCycle.Initialize() -- GitLab