We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da54315 commit f113c2bCopy full SHA for f113c2b
src/mslice/models/cut/cut.py
@@ -143,7 +143,7 @@ def width(self, width_str):
143
except ValueError:
144
raise ValueError("Invalid width")
145
elif width_str == "":
146
- self._width = round(self.end - self.start, 8)
+ self._width = self.end - self.start
147
else:
148
self._width = None
149
src/mslice/widgets/cut/cut.py
@@ -146,6 +146,8 @@ def get_integration_end(self):
return str(self.lneCutIntegrationEnd.text())
def get_integration_width(self):
+ if self.lneCutIntegrationWidth.text() == "":
150
+ return None
151
return str(self.lneCutIntegrationWidth.text())
152
153
def get_intensity_start(self):
0 commit comments