diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-07-03 16:46:20 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-07-03 16:46:20 -0400 |
commit | 171f441a1194d784d03f50a82cd92b466b6c52fe (patch) | |
tree | 9ec8b8a7310b48c6a4dd0a0570795f438afbeef2 /dplot.py | |
parent | 1d4c0da88cdd6fada48350e1b9e64602b8ca863b (diff) |
fix naming and string formatting
Diffstat (limited to 'dplot.py')
-rwxr-xr-x | dplot.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -162,9 +162,9 @@ def sched_name(alg): | |||
162 | policy = 'FP' | 162 | policy = 'FP' |
163 | elif pd2: | 163 | elif pd2: |
164 | if staggered: | 164 | if staggered: |
165 | policy = 'PD2s' | 165 | policy = 'sPD2' |
166 | else: | 166 | else: |
167 | policy = 'PD2a' | 167 | policy = 'aPD2' |
168 | else: | 168 | else: |
169 | policy = '???' | 169 | policy = '???' |
170 | 170 | ||
@@ -223,7 +223,7 @@ class DissPlotter(defapp.App): | |||
223 | p.title = scenario_heading(conf, True) | 223 | p.title = scenario_heading(conf, True) |
224 | 224 | ||
225 | if 'key' in conf: | 225 | if 'key' in conf: |
226 | p.title += '; WSS=%sKB ' % conf['key'] | 226 | p.title += '; WSS=%sKB' % conf['key'] |
227 | 227 | ||
228 | if len(self.options.cpmd) == 1: | 228 | if len(self.options.cpmd) == 1: |
229 | p.title += '; %s CPMD' % self.options.cpmd[0] | 229 | p.title += '; %s CPMD' % self.options.cpmd[0] |