Skip to content

Commit

Permalink
Bug fix: arguments not concatenated
Browse files Browse the repository at this point in the history
  • Loading branch information
jonclayden committed Jan 22, 2024
1 parent 9d55d52 commit 7ed557e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tractor.base/R/dicom_dir.R
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ readDicomDirectory <- function (dicomDir, method = c("internal","divest"), readD
{
if (image$hasTags("effectiveReadoutTime"))
returnValue$echoSeparations <- image$getTags("effectiveReadoutTime")
else if (all(image$hasTags("echoSpacing", "epiFactor")))
else if (all(image$hasTags(c("echoSpacing", "epiFactor"))))
returnValue$echoSeparations <- image$getTags("echoSpacing") / 1e6 * (image$getTags("epiFactor") - 1)
else
returnValue$echoSeparations <- rep(NA, image$nVolumes())
Expand Down

0 comments on commit 7ed557e

Please sign in to comment.