Skip to content

Commit

Permalink
run command line scripts under ipython since png rendering with savef…
Browse files Browse the repository at this point in the history
…ig is significantly faster
  • Loading branch information
jchiang87 committed Sep 30, 2019
1 parent 4c5ed1f commit c8e8ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ssh_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def launch_script(self, remote_host, task_id, *args):
command += f'"cd {working_dir}; source {setup}; '
for key, value in self.lcatr_envs.items():
command += f'export {key}={value}; '
command += f'(echo; {script} {task_id} '
command += f'(echo; ipython {script} {task_id} '
command += ' '.join([str(_) for _ in args])
command += r' && echo Task succeeded on \`hostname\`'
command += r' || echo Task failed on \`hostname\`)'
Expand Down

0 comments on commit c8e8ede

Please sign in to comment.