add leading "o" to groupname in Orbit.jl
This commit is contained in:
parent
476d532d93
commit
98df554624
2
Orbit.jl
2
Orbit.jl
@ -20,7 +20,7 @@ function main(GROUP, parsed_args)
|
|||||||
G, S = GROUP.generatingset(parsed_args)
|
G, S = GROUP.generatingset(parsed_args)
|
||||||
autS = GROUP.autS(parsed_args)
|
autS = GROUP.autS(parsed_args)
|
||||||
|
|
||||||
name = "$(name)_r$radius"
|
name = "o$(name)_r$radius"
|
||||||
isdir(name) || mkdir(name)
|
isdir(name) || mkdir(name)
|
||||||
|
|
||||||
logger = PropertyT.setup_logging(joinpath(name, "$(upper_bound)"))
|
logger = PropertyT.setup_logging(joinpath(name, "$(upper_bound)"))
|
||||||
|
@ -75,6 +75,6 @@ function groupname(parsed_args)
|
|||||||
return groupname(N), N
|
return groupname(N), N
|
||||||
end
|
end
|
||||||
|
|
||||||
groupname(N::Int) = "oSAutF$(N)"
|
groupname(N::Int) = "SAutF$(N)"
|
||||||
|
|
||||||
end # of module SAutFNs
|
end # of module SAutFNs
|
||||||
|
8
SLNs.jl
8
SLNs.jl
@ -108,15 +108,15 @@ function groupname(parsed_args)
|
|||||||
return groupname(N, p, X), N
|
return groupname(N, p, X), N
|
||||||
end
|
end
|
||||||
|
|
||||||
function groupname(N, p=0, X=false)
|
function groupname(N::Int, p::Int=0, X::Bool=false)
|
||||||
if p == 0
|
if p == 0
|
||||||
if X
|
if X
|
||||||
name = "oSL$(N)Z⟨X⟩"
|
name = "SL$(N)Z⟨X⟩"
|
||||||
else
|
else
|
||||||
name = "oSL$(N)Z"
|
name = "SL$(N)Z"
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
name = "oSL$(N)_$p"
|
name = "SL$(N)_$p"
|
||||||
end
|
end
|
||||||
return name
|
return name
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user