From ff164c920966ae226b16b49af6e73055b55347c1 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Tue, 30 Oct 2012 15:53:46 +0000 Subject: [PATCH] changed packing syntax from "N copies of x" to "N of x" (now consistent with IO.f90) --- processing/pre/spectral_geomPack.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/processing/pre/spectral_geomPack.py b/processing/pre/spectral_geomPack.py index 3c3e90f90..699ff7261 100755 --- a/processing/pre/spectral_geomPack.py +++ b/processing/pre/spectral_geomPack.py @@ -41,7 +41,7 @@ mappings = { parser = OptionParser(option_class=extendedOption, usage='%prog options [file[s]]', description = """ -compress geometry files with ranges "a to b" and/or multiples "n copies of x". +compress geometry files with ranges "a to b" and/or multiples "n of x". """ + string.replace('$Id$','\n','\\n') ) @@ -144,7 +144,7 @@ for file in files: output = {'': '', '.': str(former)+'\n', 'to': '%i to %i\n'%(former-reps+1,former), - 'of': '%i copies of %i\n'%(reps,former), + 'of': '%i of %i\n'%(reps,former), }[type] file['output'].write(output) type = '.' @@ -157,7 +157,7 @@ for file in files: output = {'.': str(former), 'to': '%i to %i'%(former-reps+1,former), - 'of': '%i copies of %i'%(reps,former), + 'of': '%i of %i'%(reps,former), }[type] file['output'].write(output+'\n')