@@ -38,7 +38,13 @@ class ImproperType(ParametricPotential):
3838
3939 member_types_ : Optional [Tuple [str , str , str , str ]] = Field (
4040 None ,
41- description = "List-like of of gmso.AtomType.name or gmso.AtomType.atomclass "
41+ description = "List-like of gmso.AtomType.name "
42+ "defining the members of this improper type" ,
43+ )
44+
45+ member_classes_ : Optional [Tuple [str , str , str , str ]] = Field (
46+ None ,
47+ description = "List-like of gmso.AtomType.atomclass "
4248 "defining the members of this improper type" ,
4349 )
4450
@@ -50,6 +56,7 @@ def __init__(
5056 independent_variables = None ,
5157 potential_expression = None ,
5258 member_types = None ,
59+ member_classes = None ,
5360 topology = None ,
5461 tags = None ,
5562 ):
@@ -74,6 +81,7 @@ def __init__(
7481 potential_expression = potential_expression ,
7582 topology = topology ,
7683 member_types = member_types ,
84+ member_classes = member_classes ,
7785 set_ref = IMPROPER_TYPE_DICT ,
7886 tags = tags ,
7987 )
@@ -83,9 +91,19 @@ def member_types(self):
8391 """Return member information for this ImproperType."""
8492 return self .__dict__ .get ("member_types_" )
8593
94+ @property
95+ def member_classes (self ):
96+ return self .__dict__ .get ("member_classes_" )
97+
8698 class Config :
8799 """Pydantic configuration for attributes."""
88100
89- fields = {"member_types_" : "member_types" }
101+ fields = {
102+ "member_types_" : "member_types" ,
103+ "member_classes_" : "member_classes" ,
104+ }
90105
91- alias_to_fields = {"member_types" : "member_types_" }
106+ alias_to_fields = {
107+ "member_types" : "member_types_" ,
108+ "member_classes" : "member_classes_" ,
109+ }
0 commit comments