Skip to content

Commit

Permalink
Remove empty returns
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindlewis23 committed Jul 5, 2024
1 parent cce4e78 commit a0db9da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions hexrd/material/spacegroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ def _set_sgnum(self, v):
self._pointGroup = pglg[0]
self._laueGroup = pglg[1]

return

sgnum = property(_get_sgnum, _set_sgnum, None,
"Space group number")

Expand Down Expand Up @@ -1967,8 +1965,6 @@ def testHKLs():
print(' number of hkls: ', len(hkls))
print(hkls)

return


if __name__ == '__main__':
#
Expand Down
4 changes: 1 addition & 3 deletions scripts/calibrate_from_rotation_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,7 @@ def calibrate_instrument_from_sx(
panel.tilt = fit_params[ii:ii + 3]
panel.tvec = fit_params[ii + 3:ii + 6]
ii += 6
# !!! use jj to do distortion...
if panel.distortion is not None:
pass
# !!! use jj to do distortion?

return fit_params, resd, sim_final

Expand Down

0 comments on commit a0db9da

Please sign in to comment.