dirname finally

This commit is contained in:
kalmar 2017-06-09 22:05:55 +02:00
parent 3f33cd69b8
commit 692a51c53e
2 changed files with 4 additions and 2 deletions

View File

@ -86,9 +86,10 @@ function main()
N = parsed_args["N"] N = parsed_args["N"]
upper_bound = parsed_args["upper-bound"] upper_bound = parsed_args["upper-bound"]
radius=2
name = "SOutF$N" name = "SOutF$N"
name = name*"-$(string(upper_bound))" name = "$(name)_$(upper_bound)_r=$radius"
logger = PropertyT.setup_logging(name) logger = PropertyT.setup_logging(name)

View File

@ -95,12 +95,13 @@ function main()
parsed_args = parse_commandline() parsed_args = parse_commandline()
N = parsed_args["N"] N = parsed_args["N"]
dirname = "oSOutF$(N)_r=$radius"
radius = parsed_args["radius"] radius = parsed_args["radius"]
tol = parsed_args["tol"] tol = parsed_args["tol"]
iterations = parsed_args["iterations"] iterations = parsed_args["iterations"]
upper_bound = parsed_args["upper-bound"] upper_bound = parsed_args["upper-bound"]
dirname = "oSOutF$(N)_$(upper_bound)_r=$radius"
isdir(dirname) || mkdir(dirname) isdir(dirname) || mkdir(dirname)
logger = PropertyT.setup_logging(dirname) logger = PropertyT.setup_logging(dirname)