Skip to content

Commit

Permalink
Fix stylesheet for EPI with FLASH reference (#108)
Browse files Browse the repository at this point in the history
* Fixed missing Z dimension in EPI FLASH ref style sheet

* Rev version and remove debug code
  • Loading branch information
hansenms authored Oct 26, 2022
1 parent 21b4991 commit d8ab2ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ message(STATUS "Looking for packages in : ${CMAKE_PREFIX_PATH}")
#VERSIONING
set(SIEMENS_TO_ISMRMRD_VERSION_MAJOR 1)
set(SIEMENS_TO_ISMRMRD_VERSION_MINOR 2)
set(SIEMENS_TO_ISMRMRD_VERSION_PATCH 5)
set(SIEMENS_TO_ISMRMRD_VERSION_PATCH 6)
set(SIEMENS_TO_ISMRMRD_VERSION_STRING ${SIEMENS_TO_ISMRMRD_VERSION_MAJOR}.${SIEMENS_TO_ISMRMRD_VERSION_MINOR}.${SIEMENS_TO_ISMRMRD_VERSION_PATCH})

# Generate the converter_version.h header file
Expand Down
7 changes: 6 additions & 1 deletion parameter_maps/IsmrmrdParameterMap_Siemens_EPI_FLASHREF.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,12 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:value-of select="siemens/MEAS/sKSpace/lPhaseEncodingLines"/>
</y>
<z>
<xsl:value-of select="siemens/MEAS/sPAT/lRefLines3D"/>
<xsl:choose>
<xsl:when test="not(siemens/MEAS/sPAT/lRefLines3D)">1</xsl:when>
<xsl:otherwise>
<xsl:value-of select="(siemens/MEAS/sPAT/lRefLines3D)"/>
</xsl:otherwise>
</xsl:choose>
</z>
</matrixSize>
<fieldOfView_mm>
Expand Down

0 comments on commit d8ab2ea

Please sign in to comment.