Changeset 0ec1bff in flowtimer
- Timestamp:
- 08/24/24 00:03:13 (11 months ago)
- Branches:
- guix
- Children:
- 24dd246
- Parents:
- a438158
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
flowtimer/Schedule.py
ra438158 r0ec1bff 98 98 99 99 def skip(self): 100 if self.current_block.is_sequence():101 self.current_block.skip()102 print("Skip the next phase in sequence")103 return104 100 if self.current_block_is_final(): 105 101 print("Time over") 106 102 self.abort() 107 103 return 104 if self.current_block.is_sequence(): 105 print("Skip the next phase in sequence") 106 self.current_block.skip() 107 if self.current_block.finished(): 108 self.current_block = self.upcoming_blocks()[0] 109 return 110 108 111 print("Jump to next block") 109 112 index = self.blocks.index(self.current_block)
Note:
See TracChangeset
for help on using the changeset viewer.