setup paths and logger using fullpath(::Settings)
This commit is contained in:
parent
b84b23d486
commit
4cd2212554
4
run.jl
4
run.jl
@ -100,7 +100,9 @@ solver(tol, iterations) =
|
|||||||
const Gr = PropertyTGroups.PropertyTGroup(PARSEDARGS)
|
const Gr = PropertyTGroups.PropertyTGroup(PARSEDARGS)
|
||||||
const sett = PropertyT.Settings(PARSEDARGS, Gr,
|
const sett = PropertyT.Settings(PARSEDARGS, Gr,
|
||||||
solver(args["tol"], args["iterations"]))
|
solver(args["tol"], args["iterations"]))
|
||||||
|
|
||||||
|
fullpath = PropertyT.fullpath(sett)
|
||||||
isdir(fullpath) || mkpath(fullpath)
|
isdir(fullpath) || mkpath(fullpath)
|
||||||
logger=setup_logging(PropertyT.filename(fullpath, :fulllog), :fulllog)
|
setup_logging(PropertyT.filename(fullpath, :fulllog), :fulllog)
|
||||||
|
|
||||||
main(Gr, sett)
|
main(Gr, sett)
|
||||||
|
Loading…
Reference in New Issue
Block a user