From 47689c1c33a85fb34042bfd2789f91beb5bce94c Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauld.mccarthy@gmail.com>
Date: Tue, 19 Jan 2016 15:25:14 +0000
Subject: [PATCH] Adjusted cli argument application order to make lightbox
 config work.

---
 fsl/fsleyes/fsleyes_parseargs.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/fsl/fsleyes/fsleyes_parseargs.py b/fsl/fsleyes/fsleyes_parseargs.py
index ab964f3e0..5b6ba9843 100644
--- a/fsl/fsleyes/fsleyes_parseargs.py
+++ b/fsl/fsleyes/fsleyes_parseargs.py
@@ -325,13 +325,13 @@ OPTIONS = td.TypeDict({
                        'showXCanvas',
                        'showYCanvas',
                        'showZCanvas'],
-    'LightBoxOpts'  : ['sliceSpacing',
+    'LightBoxOpts'  : ['zax',
+                       'sliceSpacing',
+                       'zrange',
                        'ncols',
                        'nrows',
-                       'zrange',
                        'showGridLines',
-                       'highlightSlice',
-                       'zax'],
+                       'highlightSlice'],
 
     # The order in which properties are listed
     # here is the order in which they are applied.
-- 
GitLab