Parsing
Base.tryparse
— Functiontryparse(::Type{PotentialName}, str::AbstractString)
Attempt to parse a string into a PotentialName
object.
Otherwise, nothing
is returned.
Arguments
str::AbstractString
: The string to parse, e.g.,"Si"
,"C_h_GW"
.
tryparse(::Type{Subshell}, str::AbstractString)
Attempt to parse a string into a Subshell
object.
Otherwise, nothing
is returned.
Arguments
str::AbstractString
: The string to parse, e.g.,"4s2"
,"3d^{10.0}"
.