Skip to content

Commit

Permalink
Merge pull request #2442 from EdgarGF93/fiberunit_str
Browse files Browse the repository at this point in the history
fiberunit str method
  • Loading branch information
kif authored Feb 18, 2025
2 parents 2731d00 + 27024f1 commit 8f380d8
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 8f380d8

Please sign in to comment.