|
101 | 101 | {
|
102 | 102 | "menu" : "Node",
|
103 | 103 | "name" : "Suspend",
|
104 |
| - "visible_for" : "not suspended and node", |
| 104 | + "visible_for" : "not suspended and node and (not has_mirror)", |
105 | 105 | "command" : "ecflow_client --suspend <full_name>",
|
106 | 106 | "status_tip" : "__cmd__",
|
107 | 107 | "shortcut" : "Ctrl+S"
|
|
110 | 110 | {
|
111 | 111 | "menu" : "Node",
|
112 | 112 | "name" : "Resume",
|
113 |
| - "visible_for" : "suspended and node", |
| 113 | + "visible_for" : "suspended and node and (not has_mirror)", |
114 | 114 | "command" : "ecflow_client --resume <full_name>",
|
115 | 115 | "status_tip" : "__cmd__",
|
116 | 116 | "shortcut" : "Ctrl+R"
|
|
120 | 120 | "menu" : "Node",
|
121 | 121 | "name" : "Rerun",
|
122 | 122 | "visible_for" : "task",
|
123 |
| - "enabled_for" : "(not active) and (not submitted)", |
| 123 | + "enabled_for" : "(not active) and (not submitted) and (not has_mirror)", |
124 | 124 | "command" : "ecflow_client --force queued <full_name>",
|
125 | 125 | "status_tip" : "__cmd__",
|
126 | 126 | "shortcut" : "Ctrl+U"
|
|
130 | 130 | "menu" : "Node",
|
131 | 131 | "name" : "Set complete",
|
132 | 132 | "visible_for" : "task or alias",
|
133 |
| - "enabled_for" : "submitted or active or unknown or queued or aborted or suspended", |
| 133 | + "enabled_for" : "(submitted or active or unknown or queued or aborted or suspended) and (not has_mirror)", |
134 | 134 | "command" : "ecflow_client --force=complete <full_name>",
|
135 | 135 | "question_for" : "submitted or active",
|
136 | 136 | "question" : "Have you checked that the job is not active anymore (jobstatus)?",
|
|
143 | 143 | "menu" : "Node",
|
144 | 144 | "name" : "Set aborted",
|
145 | 145 | "visible_for" : "task or alias",
|
146 |
| - "enabled_for" : "submitted or active or unknown or queued or complete or suspended", |
| 146 | + "enabled_for" : "(submitted or active or unknown or queued or complete or suspended) and (not has_mirror)", |
147 | 147 | "command" : "ecflow_client --force=aborted <full_name>",
|
148 | 148 | "question_for" : "submitted or active",
|
149 | 149 | "question" : "Have you checked that the job is not active anymore (jobstatus)?",
|
|
156 | 156 | "menu" : "Node",
|
157 | 157 | "name" : "Execute",
|
158 | 158 | "visible_for" : "task or alias",
|
159 |
| - "enabled_for" : "(not active) and (not submitted)", |
| 159 | + "enabled_for" : "(not active) and (not submitted) and (not has_mirror)", |
160 | 160 | "command" : "ecflow_client --run <full_name>",
|
161 | 161 | "status_tip" : "__cmd__",
|
162 | 162 | "shortcut" : "Ctrl+E"
|
|
166 | 166 | "menu" : "Node",
|
167 | 167 | "name" : "Requeue",
|
168 | 168 | "visible_for" : "task or suite or family",
|
169 |
| - "enabled_for" : "(not active) and (not submitted)", |
| 169 | + "enabled_for" : "(not active) and (not submitted) and (not has_mirror)", |
170 | 170 | "command" : "ecflow_client --requeue=force <full_name>",
|
171 | 171 | "warning" : "This command can potentially lead to creating zombies when active nodes are present in the current subtree.",
|
172 | 172 | "question" : "Confirm requeuing of <full_name>",
|
|
179 | 179 | "menu" : "Node",
|
180 | 180 | "name" : "Requeue aborted",
|
181 | 181 | "visible_for" : "suite or family",
|
182 |
| - "enabled_for" : "aborted or suspended", |
| 182 | + "enabled_for" : "aborted or suspended and (not has_mirror)", |
183 | 183 | "command" : "ecflow_client --requeue=abort <full_name>",
|
184 | 184 | "question" : "Confirm requeuing of aborted tasks from <full_name>",
|
185 | 185 | "question_control" : "menu.confirm.confirmRequeueAborted",
|
|
0 commit comments