Skip to content
Snippets Groups Projects
Commit ebdf6aa5 authored by payno's avatar payno
Browse files

[axis] remove the `fixed` case. This is in fact the same as the manual case

parent 3995ab90
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,6 @@ from .base import _ReconsParam, _assert_param_instance, _assert_cast_to_boolean,
class AxisMode(enum.Enum):
manual = 0
accurate = 1
fixed = 2
highlow = 3
excentrated = 4
near = 5
......
......@@ -230,7 +230,6 @@ class _FTAxisMixIn(H5StructsEditor):
self._qcbPosition.addItem(AxisMode.accurate.name)
self._qcbPosition.addItem(AxisMode.highlow.name)
self._qcbPosition.addItem(AxisMode.manual.name)
self._qcbPosition.addItem(AxisMode.fixed.name)
self._qcbPosition.addItem(AxisMode.excentrated.name)
self._qcbPosition.addItem(AxisMode.near.name)
self._qcbPosition.addItem(AxisMode.read.name)
......@@ -243,7 +242,6 @@ class _FTAxisMixIn(H5StructsEditor):
self._updateHAView(False)
self.indexesAllowingValue = [
self._qcbPosition.findText(AxisMode.fixed.name),
self._qcbPosition.findText(AxisMode.near.name)
]
# LineEdit position value
......
......@@ -347,8 +347,6 @@ class TestSimplifyH5EditorSave(TestCaseQt):
# changing FTAxis values
self.input['FTAXIS']['PLOTFIGURE'] = 0
self.input['FTAXIS']['POSITION'] = 'fixed'
assert self.input['FTAXIS']['POSITION'] is AxisMode.fixed
self.input['FTAXIS']['POSITION_VALUE'] = 12
# changing the DKRF values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment