Skip to content

Commit 5be09d5

Browse files
add attributes in eq method (#60)
1 parent 5aad8bd commit 5be09d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: src/diffpy/srmise/dataclusters.py

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ def __eq__(self, other):
8181
and self.lastcluster_idx == other.lastcluster_idx
8282
and self.lastpoint_idx == other.lastpoint_idx
8383
and self.status == other.status
84+
and self.INIT == other.INIT
85+
and self.READY == other.READY
86+
and self.CLUSTERING == other.CLUSTERING
87+
and self.DONE == other.DONE
8488
)
8589

8690
def clear(self):

0 commit comments

Comments
 (0)