Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
languagepy
 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 )

 suitesuite.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)