@@ -49,7 +49,6 @@ def cylc_run_experiment(self): # NB: Could be a factory based on workflow_manag
49
49
os .environ ['CYLC_CONF_PATH' ] = self .suite_path
50
50
51
51
# Install the suite
52
-
53
52
if self .log_path :
54
53
# Add optional path for workflow engine logging.
55
54
option = '--symlink-dirs=run=' + self .log_path
@@ -70,22 +69,28 @@ def cylc_run_experiment(self): # NB: Could be a factory based on workflow_manag
70
69
subprocess .run (['cylc' , 'play' , self .experiment_name ], check = True )
71
70
72
71
# Pre TUI messages
73
- self .logger .info (' ' )
72
+ self .logger .info (' ' , False )
74
73
self .logger .info ('Workflow is now running... ' )
75
- self .logger .info (' ' )
76
- self .logger .info ('Use \' cylc scan\' to see running workflows.' )
77
- self .logger .info (' ' )
74
+ self .logger .info (' ' , False )
75
+ self .logger .info ('Use \' \u001b [32mcylc scan\033 [0m \' to see running workflows.' )
76
+ self .logger .info (' ' , False )
78
77
self .logger .info ('If the workflow needs to be stopped, close the TUI (if open)' )
79
78
self .logger .info ('by pressing \' q\' and issue either:' )
80
- self .logger .info (' cylc stop ' + self .experiment_name )
79
+ self .logger .info (' ' , False )
80
+ self .logger .info (' \u001b [32mcylc stop ' + self .experiment_name + '\033 [0m' )
81
+ self .logger .info (' ' , False )
81
82
self .logger .info ('or to kill running tasks and stop:' )
82
- self .logger .info (' cylc stop --kill ' + self .experiment_name )
83
- self .logger .info (' ' )
83
+ self .logger .info (' ' , False )
84
+ self .logger .info (' \u001b [32mcylc stop --kill ' + self .experiment_name + '\033 [0m' )
85
+ self .logger .info (' ' , False )
84
86
85
87
# Launch the job monitor
86
88
self .logger .input ('Launching the TUI, press \' q\' at any time to exit the TUI' )
89
+ self .logger .info (' ' , False )
87
90
self .logger .info ('TUI can be relaunched with:' )
88
- self .logger .info (' cylc tui ' + self .experiment_name )
91
+ self .logger .info (' ' , False )
92
+ self .logger .info (' \u001b [32mcylc tui ' + self .experiment_name + '\033 [0m' )
93
+ self .logger .info (' ' , False )
89
94
subprocess .run (['cylc' , 'tui' , self .experiment_name ], check = True )
90
95
91
96
# --------------------------------------------------------------------------------------------------
@@ -123,7 +128,8 @@ def main(suite_path, workflow_manager, no_detach, log_path):
123
128
124
129
# Write some info for the user
125
130
# ----------------------------
126
- deploy_workflow .logger .info ('Launching workflow defined by files in ' + suite_path + '``.' )
131
+ deploy_workflow .logger .info ('Launching workflow defined by files in \' ' + suite_path + '\' .' ,
132
+ False )
127
133
deploy_workflow .logger .info ('Experiment name: ' + experiment_name )
128
134
deploy_workflow .logger .info ('Workflow manager: ' + workflow_manager )
129
135
0 commit comments