Skip to content

Commit

Permalink
Merge pull request #166 from cncastillo/master
Browse files Browse the repository at this point in the history
MRIFiles.jl: Additional `<userParameters>` tag is included within XML header of exported MRD
  • Loading branch information
tknopp authored Dec 2, 2023
2 parents 27bd616 + 4f780cd commit c4e3926
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MRIFiles/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MRIFiles"
uuid = "5a6f062f-bf45-497d-b654-ad17aae2a530"
author = ["Tobias Knopp <[email protected]>"]
version = "0.2.0"
version = "0.2.1"

[deps]
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Expand Down
2 changes: 1 addition & 1 deletion MRIFiles/src/ISMRMRD/Parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function insertNode(xs, paramName::String, param::Limit)
end

function insertNode(xs, paramName::String, param_::Dict{String,Any})
xsp = new_child(xs, paramName)
xsp = paramName == "userParameters" ? xs : new_child(xs, paramName)
param = deepcopy(param_)
if haskey(param, "comment")
insertNode(xsp, "comment", param["comment"])
Expand Down

0 comments on commit c4e3926

Please sign in to comment.