Skip to content

Commit

Permalink
fix writestring
Browse files Browse the repository at this point in the history
  • Loading branch information
vsaase committed Sep 5, 2019
1 parent d703502 commit b49ae78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DICOM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ end
# todo: support maxlen
string_write(vals::Array{SubString{String}}, maxlen) = string_write(convert(Array{String}, vals), maxlen)
string_write(vals::SubString{String}, maxlen) = string_write(convert(String, vals), maxlen)
string_write(vals::Tuple{String, String}, maxlen) = string_write(collect(vals), maxlen)
string_write(vals::Char, maxlen) = string_write(string(vals), maxlen)
string_write(vals::String, maxlen) = string_write([vals], maxlen)
string_write(vals::Array{String,1}, maxlen) = join(vals, '\\')
Expand Down
1 change: 1 addition & 0 deletions src/dcm_dict.jl
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,7 @@ dcm_dict = Dict(
(0x0028, 0x1053) => ["Rescale Slope", "DS", "1"],
(0x0028, 0x1054) => ["Rescale Type", "LO", "1"],
(0x0028, 0x1055) => ["Window Center & Width Explanation", "LO", "1-n"],
(0x0028, 0x1056) => ["VOI LUT Function", "CS", "1"],
(0x0028, 0x1090) => ["Recommended Viewing Mode", "CS", "1"],
(0x0028, 0x1101) => ["Red Palette Color Lookup Table Descriptor", "US", "3"],
(0x0028, 0x1102) => ["Green Palette Color Lookup Table Descriptor", "US", "3"],
Expand Down

0 comments on commit b49ae78

Please sign in to comment.