From ed11633b628bb06ec7a62964b5aa824ec572d882 Mon Sep 17 00:00:00 2001 From: Daan Christiaens Date: Tue, 22 Nov 2016 15:48:49 +0000 Subject: [PATCH 1/2] mrview: display extended gbtable in properties box --- src/gui/dialog/image_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/dialog/image_properties.cpp b/src/gui/dialog/image_properties.cpp index dc9725fe6f..0da3e4b27b 100644 --- a/src/gui/dialog/image_properties.cpp +++ b/src/gui/dialog/image_properties.cpp @@ -91,7 +91,7 @@ namespace MR auto DW_scheme = DWI::parse_DW_scheme (H); if (DW_scheme.rows()) { - if (DW_scheme.cols() != 4) { + if (DW_scheme.cols() >= 4) { root->appendChild (new TreeItem ("Diffusion scheme", "(invalid)", root)); } else { From 628b853321a317bb3b4846069dbf00480fe63602 Mon Sep 17 00:00:00 2001 From: Daan Christiaens Date: Tue, 22 Nov 2016 16:25:47 +0000 Subject: [PATCH 2/2] mrview: fix incorrect change --- src/gui/dialog/image_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/dialog/image_properties.cpp b/src/gui/dialog/image_properties.cpp index 0da3e4b27b..e5ecf515e2 100644 --- a/src/gui/dialog/image_properties.cpp +++ b/src/gui/dialog/image_properties.cpp @@ -91,7 +91,7 @@ namespace MR auto DW_scheme = DWI::parse_DW_scheme (H); if (DW_scheme.rows()) { - if (DW_scheme.cols() >= 4) { + if (DW_scheme.cols() < 4) { root->appendChild (new TreeItem ("Diffusion scheme", "(invalid)", root)); } else {