diff --git a/IPython/parallel/apps/launcher.py b/IPython/parallel/apps/launcher.py index 285c349..0d1eb9a 100644 --- a/IPython/parallel/apps/launcher.py +++ b/IPython/parallel/apps/launcher.py @@ -965,7 +965,7 @@ class SGELauncher(PBSLauncher): job_array_regexp = Unicode('#\$\W+\-t') job_array_template = Unicode('#$ -t 1-{n}') queue_regexp = Unicode('#\$\W+-q\W+\$?\w+') - queue_template = Unicode('#$ -q $queue') + queue_template = Unicode('#$ -q {queue}') class SGEControllerLauncher(SGELauncher): """Launch a controller using SGE."""