Skip to content

Commit

Permalink
Remove negative FWHM values
Browse files Browse the repository at this point in the history
  • Loading branch information
MBartkowiakSTFC committed Apr 17, 2024
1 parent 621311e commit b0a87fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MDANSE_GUI/Src/MDANSE_GUI/Widgets/ResolutionDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def recalculate_peak(self):
of points around the peak centre.
"""
try:
fwhm = float(self._fwhm.text())
fwhm = abs(float(self._fwhm.text()))
except:
return
try:
Expand Down

0 comments on commit b0a87fc

Please sign in to comment.