Skip to content

Commit

Permalink
Remove redundant raise
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien R M Lhermitte committed Mar 20, 2018
1 parent 4852181 commit f3a0c58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hkl/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@ def __init__(self, param, geometry, *args, **kwargs):
self.param_name = param.name_get()
# you may wonder why we stash geometry object rather than axis
# this is because the axis params can only be updated from the geometry
if geometry is None:
raise ValueError("Error, must supply a geometry")
self._geometry = geometry

@property
Expand Down

0 comments on commit f3a0c58

Please sign in to comment.