Skip to content

Commit

Permalink
fiberunit str method
Browse files Browse the repository at this point in the history
  • Loading branch information
edgar1993a committed Feb 18, 2025
1 parent 2731d00 commit 27024f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pyFAI/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ def __repr__(self):
Tilt_angle={self.tilt_angle}\u00b0
Sample orientation={self.sample_orientation}
"""
def __str__(self):
return self.name

@property
def incident_angle(self):
Expand Down

0 comments on commit 27024f1

Please sign in to comment.