Skip to content
Snippets Groups Projects
Verified Commit 9a8b2f55 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

return slice_thickness if available

parent ae99052c
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ function interpret_image_size(fov, resolution, voxel_size, slice_thickness)
_real_value(other) = false
if all(isnothing.((fov, resolution, voxel_size)))
return (isnothing(voxel_size) ? Inf : voxel_size, nothing, (fov=nothing, resolution=nothing, voxel_size=nothing))
return (isnothing(slice_thickness) ? Inf : slice_thickness, nothing, (fov=nothing, resolution=nothing, voxel_size=nothing))
end
if !_real_value(resolution)
if !(_real_value(fov) && _real_value(voxel_size))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment