From 36a1151a739689a68db58a62b67ed0002ceb5c08 Mon Sep 17 00:00:00 2001 From: kalmarek Date: Mon, 9 Oct 2017 19:45:28 +0200 Subject: [PATCH] add functions to produce prepath, fullpath out of Settings --- src/Orbit-wise.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Orbit-wise.jl b/src/Orbit-wise.jl index fca5438..377cf82 100644 --- a/src/Orbit-wise.jl +++ b/src/Orbit-wise.jl @@ -15,6 +15,11 @@ immutable Settings tol::Float64 end +prefix(s::Settings) = s.name +suffix(s::Settings) = "$(s.upper_bound)" +prepath(s::Settings) = prefix(s) +fullpath(s::Settings) = joinpath(prefix(s), suffix(s)) + immutable OrbitData name::String Us::Vector