diff --git a/fsl/fsleyes/displaycontext/canvasopts.py b/fsl/fsleyes/displaycontext/canvasopts.py index ed01214067f1c705459b68b152264d7d79087267..3a494fe71ed34d4e03fe92b275447cd423f81acb 100644 --- a/fsl/fsleyes/displaycontext/canvasopts.py +++ b/fsl/fsleyes/displaycontext/canvasopts.py @@ -59,7 +59,8 @@ class SliceCanvasOpts(props.HasProperties): zax = props.Choice((0, 1, 2), - alternates=[['x', 'X'], ['y', 'Y'], ['z', 'Z']]) + alternates=[['x', 'X'], ['y', 'Y'], ['z', 'Z']], + allowStr=True) """The display coordinate system axis to be used as the screen *depth* axis. """ diff --git a/fsl/fsleyes/displaycontext/sceneopts.py b/fsl/fsleyes/displaycontext/sceneopts.py index b9b0681d769ee666cb7e1bead677cc2373365882..1f076bda152d16447250db2471fd9c94e18229d0 100644 --- a/fsl/fsleyes/displaycontext/sceneopts.py +++ b/fsl/fsleyes/displaycontext/sceneopts.py @@ -61,7 +61,7 @@ class SceneOpts(props.HasProperties): # performance because, for example, the # OrthoEditProfile does numerical comparisons # to it. - performance = props.Choice((1, 2, 3, 4), default=4) + performance = props.Choice((1, 2, 3, 4), default=4, allowStr=True) """User controllable performance setting. This property is linked to the :attr:`renderMode` and