Commit 51af49af authored by Peter-Bernd Otte's avatar Peter-Bernd Otte

allows more than 4 parameters per variable

parent 665f5542
...@@ -82,7 +82,7 @@ if rank == 0: ...@@ -82,7 +82,7 @@ if rank == 0:
if len(v)==1: argvariables[i] = [v[0], 0, 1, 1] if len(v)==1: argvariables[i] = [v[0], 0, 1, 1]
if len(v)==2: argvariables[i] = [v[0], 0, float(v[1]), 1] if len(v)==2: argvariables[i] = [v[0], 0, float(v[1]), 1]
if len(v)==3: argvariables[i] = [v[0], float(v[1]), float(v[2]), 1] if len(v)==3: argvariables[i] = [v[0], float(v[1]), float(v[2]), 1]
if len(v)==4: argvariables[i] = [v[0], float(v[1]), float(v[2]), float(v[3])] if len(v)>=4: argvariables[i] = [v[0], float(v[1]), float(v[2]), float(v[3])]
logger.debug("Interpreted as:") logger.debug("Interpreted as:")
logger.debug(argvariables) logger.debug(argvariables)
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment