Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows bug for reading imgTimes.lst files with register.exe #699

Open
angela337 opened this issue Oct 11, 2019 · 0 comments
Open

Windows bug for reading imgTimes.lst files with register.exe #699

angela337 opened this issue Oct 11, 2019 · 0 comments

Comments

@angela337
Copy link

I recently installed MIRTK on Windows and I found a small bug using:
register.exe -images C:\somepath\imgTimes.lst -dofout none -verbose 3
with imgTimes.lst file header being:
C:\someotherpath\dcm- .nii
The issue is that the image file paths then get set to C:\somepath\C:\someotherpath\dcm-0.nii.
I think that the issue is in register.cc lines 326, so I've changed this line as follows:

//if (entry[0] != PATHSEP) {
if ((entry[0] != PATHSEP) && (entry[1] != ':')) {
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

No branches or pull requests

1 participant