We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4dfee9 commit 7c66551Copy full SHA for 7c66551
1 file changed
automation/script/remote_run.py
@@ -252,6 +252,7 @@ def regenerate_script_cmd(i):
252
253
remote_run_settings = i.get('remote_run_settings', {})
254
fake_run = i.get('fake_run', False)
255
+ remote_action = i.get('remote_action', 'run')
256
257
i_run_cmd = i['run_cmd']
258
@@ -300,7 +301,7 @@ def regenerate_script_cmd(i):
300
301
# docker_run_cmd_prefix = i.get('docker_run_cmd_prefix', '')
302
303
# Regenerate command from dictionary input
- run_cmd = 'mlcd' if i.get('docker') elif i.get('experiment') 'mlce' else 'mlcr'
304
+ run_cmd = 'mlcd' if remote_action == 'docker' else ('mlce' if remote_action == 'experiment' else 'mlcr')
305
306
skip_input_for_fake_run = remote_run_settings.get(
307
'skip_input_for_fake_run', [])
0 commit comments