Skip to content

Commit b70ad4b

Browse files
Merge pull request #1069 from mantidproject/1068_clean_up_code
Removed unused code
2 parents 920627b + 6e3929e commit b70ad4b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mslice/models/cut/cut.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ def width(self, width_str):
142142
self._width = float(width_str)
143143
except ValueError:
144144
raise ValueError("Invalid width")
145-
elif width_str == "":
146-
self._width = self.end - self.start
147145
else:
148146
self._width = None
149147

0 commit comments

Comments
 (0)