Skip to content

Read the voxel size from image with python instead of from log#683

Merged
m-reuter merged 1 commit into
Deep-MI:devfrom
dkuegler:fix/voxelsize
Mar 21, 2025
Merged

Read the voxel size from image with python instead of from log#683
m-reuter merged 1 commit into
Deep-MI:devfrom
dkuegler:fix/voxelsize

Conversation

@dkuegler
Copy link
Copy Markdown
Member

Instead of parsing the conform --check_only log in recon-surf.sh, start a python process, that just reads the first voxel size dimension from the file $t1 and print it. This is much less error-prone and does not rely on logging.

This PR addresses #681.

Instead of parsing the conform --check_only log in recon-surf.sh, start a python process, that just reads the first voxel size dimension from the file $t1 and print it.
This is much less error-prone and does not rely on logging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants