Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Jan 7, 2024
1 parent a42f585 commit c193dd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions samples/file_center_of_mass/file_center_of_mass.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
if isinstance(fm, Error) or fm is None:
raise Exception("There was a problem")

if fm.center_of_mass is None:
raise Exception("There was a problem")

print(f"File center of mass (meters): {fm.center_of_mass}")

partInfo = {
Expand Down

0 comments on commit c193dd2

Please sign in to comment.