diff --git a/src/show.jl b/src/show.jl index bbeb4b03..19fd419b 100644 --- a/src/show.jl +++ b/src/show.jl @@ -569,7 +569,7 @@ end # ---------------------------------------------------------------------------------------- # # Collection{<:NewBandRep} -@eval Crystalline function Base.show(io :: IO, ::MIME"text/plain", brs :: Collection{<:NewBandRep}) +function Base.show(io :: IO, ::MIME"text/plain", brs :: Collection{<:NewBandRep}) irlabs = irreplabels(brs) Nⁱʳʳ = length(irlabs) diff --git a/src/types_symmetryvectors.jl b/src/types_symmetryvectors.jl index f897e791..879792b5 100644 --- a/src/types_symmetryvectors.jl +++ b/src/types_symmetryvectors.jl @@ -71,9 +71,9 @@ julia> brs = calc_bandreps(220); julia> lgirsv = irreps(brs); # irreps at P, H, Γ, & PA julia> s = "[2P₃, 4N₁, H₁H₂+H₄H₅, Γ₁+Γ₂+Γ₄+Γ₅, 2PA₃]" julia> parse(SymmetryVector, s, lgirsv) +``` """ - -@eval Crystalline function Base.parse( +function Base.parse( T::Type{<:SymmetryVector}, s::AbstractString, lgirsv::Vector{Collection{LGIrrep{D}}}) where D