From bedce496a89ccf8a9341728f1292b39b172298aa Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Mon, 15 Aug 2011 08:34:55 +0000 Subject: [PATCH] deleted unused option "dimension" since this is figured out by parsing the respective spectral or geom input files anyway. --- processing/pre/mentat_spectralBox | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/processing/pre/mentat_spectralBox b/processing/pre/mentat_spectralBox index 7b1f072d2..f1cfd8522 100755 --- a/processing/pre/mentat_spectralBox +++ b/processing/pre/mentat_spectralBox @@ -236,21 +236,21 @@ spectral: phi1,Phi,phi2,x,y,z,id,phase. $Id$ """) parser.add_option("-p", "--port", type="int",\ - dest="port",\ - help="Mentat connection port") -parser.add_option("-d", "--dimension", type="int", nargs=3,\ - dest="d",\ - help="physical dimension") -parser.add_option("--homogenization", type="int",\ - dest="homogenization",\ - help="index of homogenization to be chosen from material.config file") -parser.add_option("-s", "--spectral", action="store_const", const="spectral",\ - dest="filetype",\ - help="file has 'spectral' format") + dest="port",\ + help="Mentat connection port") parser.add_option("-g", "--geom", action="store_const", const="geom",\ - dest="filetype",\ - help="file has 'geom' format") + dest="filetype",\ + help="file has 'geom' format") +parser.add_option("-s", "--spectral", action="store_const", const="spectral",\ + dest="filetype",\ + help="file has 'spectral' format") +parser.add_option("--homogenization", type="int",\ + dest="homogenization",\ + help="homogenization index from material.config (only required for spectral file type)") + + +parser.set_defaults(filetype = 'geom') parser.set_defaults(homogenization = 1) (options, args) = parser.parse_args()