Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
 suite = ecflow.Suite("suite"); # create a suite

...


 clock = ecflow.Clock(1,1,2010,False) # day, month, year, hybrid

...


 clock.set_gain(1,10,True) # hour, minutes, bool(true ~positive gain )

...


 suite.add_clock(clock)

...

 
 s1 = ecflow.Suite("s1") # create a different suite

...


 clock = ecflow.Clock(1,1,2010,True) # day, month, year, hybrid

...


 clock.set_gain_in_seconds(300,True)

...

 
 s1.add_clock(clock)