You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionforcecomponents(mgmms::AbstractVector{<:IsotropicMultiGMM{N}}, interactions::InteractionList, residueindexes=eachindex(mgmms)) where N
76
-
GaussianMixtureAlignment.validate_interactions(Dict(interactions)) ||throw(ArgumentError("interactions must appear in only one order, got $interactions"))
76
+
interactionsdict =Dict(interactions)
77
+
GaussianMixtureAlignment.validate_interactions(interactionsdict) ||throw(ArgumentError("interactions must appear in only one order, got $interactions"))
77
78
# We don't support (:Ionic, x) where x != :Ionic
78
79
for interaction in interactions
79
80
key1, key2 =getfeatures(interaction)
80
81
if (key1 ===:Ionic&& key2 !==:Ionic) || (key1 !==:Ionic&& key2 ===:Ionic)
81
82
throw(ArgumentError("(:Ionic, x) is not supported unless x=:Ionic, got $interaction"))
0 commit comments