From 5f8ca4c31c03ca70b9c7153e1f4f2853b7eb4258 Mon Sep 17 00:00:00 2001 From: Kelvin Chow Date: Tue, 22 Nov 2022 22:19:04 -0600 Subject: [PATCH] Fix detection of Numaris/X and update stylesheet to account for missing imageColumns --- main.cpp | 2 +- .../IsmrmrdParameterMap_Siemens_NX.xsl | 68 ++++++++++++++----- 2 files changed, 51 insertions(+), 19 deletions(-) diff --git a/main.cpp b/main.cpp index 0dd5582..2723017 100644 --- a/main.cpp +++ b/main.cpp @@ -803,7 +803,7 @@ int main(int argc, char* argv[]) { std::cout << "Protocol name: " << protocol_name << std::endl; bool isNX = false; - if ((baseLineString.find("NXVA") != std::string::npos) || (software_version.find("XA11") != std::string::npos) ) + if ((baseLineString.find("NXVA") != std::string::npos) || (software_version.find("syngo MR XA") != std::string::npos) ) { isNX = true; } diff --git a/parameter_maps/IsmrmrdParameterMap_Siemens_NX.xsl b/parameter_maps/IsmrmrdParameterMap_Siemens_NX.xsl index 4fd2681..95ee44d 100644 --- a/parameter_maps/IsmrmrdParameterMap_Siemens_NX.xsl +++ b/parameter_maps/IsmrmrdParameterMap_Siemens_NX.xsl @@ -59,6 +59,10 @@ _ + + + + - - + + + + + + + + - + - + + + @@ -408,21 +420,41 @@ - - - - - - - - 1 - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + +