Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIPs in IsmrmrdParameterMap_Siemens.xml #58

Closed
marcsous opened this issue Mar 16, 2020 · 2 comments
Closed

WIPs in IsmrmrdParameterMap_Siemens.xml #58

marcsous opened this issue Mar 16, 2020 · 2 comments

Comments

@marcsous
Copy link
Contributor

Could we dump all the WIP parameters in the default IsmrmrdParameterMap_Siemens.xsl file? The following code adds them all to g.xml.userParameters.

                <xsl:for-each select="siemens/MEAS/sWipMemBlock/alFree">
                    <!-- xsl:if test=". &gt; 0" -->
                      <xsl:variable name="CurLong" select="position()"/>
                      <userParameterLong>
                        <name>sWipMemBlock.alFree[<xsl:value-of select="$CurLong - 1" />]</name>
                        <value>
                          <xsl:value-of select="."/>
                        </value>
                      </userParameterLong>
                    <!-- /xsl:if -->
                </xsl:for-each>

                <xsl:for-each select="siemens/MEAS/sWipMemBlock/adFree">
                    <!-- xsl:if test=". &gt; 0" -->
                      <xsl:variable name="CurDouble" select="position()"/>
                      <userParameterDouble>
                        <name>sWipMemBlock.adFree[<xsl:value-of select="$CurDouble - 1" />]</name>
                        <value>
                          <xsl:value-of select="."/>
                        </value>
                      </userParameterDouble>
                    <!-- /xsl:if -->
                </xsl:for-each>
@xueh2
Copy link
Contributor

xueh2 commented Mar 16, 2020

Do you help put in a pull request? I think we should save WIP parameters.

@marcsous
Copy link
Contributor Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants