Skip to content

Commit

Permalink
updated read_dicom_header passthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Sep 27, 2019
1 parent cb5ae4a commit 43f5d0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions R/read_dicom_header.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ read_dicom_header = function(
opts = paste("-q --print-all --load-short --print-filename",
add_opts)
hdr = dcmdump(file = file,
frontopts = opts)
frontopts = opts, ...)
hdr = enc2utf8(hdr)
hdr = parse_hdr(hdr)
if (replace_names) {
Expand All @@ -66,7 +66,8 @@ read_dicom_header = function(
read_single_dicom_header = function(
file = "",
replace_names = FALSE,
add_opts = ""
add_opts = "",
...
) {
add_opts = paste(add_opts, collapse = " ")
opts = paste("-q --print-all --load-short --print-filename",
Expand Down
2 changes: 1 addition & 1 deletion man/read_dicom_header.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 43f5d0c

Please sign in to comment.