Skip to content

Commit

Permalink
add contours_lines and classifiers to __attrs__ in RollPass (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
axtimhaus authored Aug 23, 2024
1 parent 8f6afb6 commit 833dd29
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyroll/core/roll_pass/roll_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,13 @@ class InProfile(Profile, DiskElementUnit.DiskElement.InProfile, DeformationUnit.
class OutProfile(Profile, DiskElementUnit.DiskElement.OutProfile, DeformationUnit.OutProfile):
"""Represents an outgoing profile of a disk element unit."""

@property
def __attrs__(self):
return super().__attrs__ | {
"contour_lines": self.contour_lines,
"classifiers": self.classifiers,
}

def _get_oriented_geom(self, geom):
orientation = self.orientation

Expand Down

0 comments on commit 833dd29

Please sign in to comment.