-
Notifications
You must be signed in to change notification settings - Fork 1
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
some t1w image not validating #4
Comments
Do you know what error message they are getting? I think the error could be in 47-49:
Not sure how to fix this, I thought the dimensions were supposed to be 3? |
Otherwise, a workaround to get the dimensions is to replace |
I am seeing this issue with nibabel 2.2.1 (the latest via pip). Most other t1 shows something like this.
The workaround didn't work with the problem dataset.
Maybe we can just count dimensions with >1? Now, even if we can just patch around this issue, I am not sure if the problem dataset is actually a valid T1 (will it break some App?) |
Thank you for all this info.
I think we should avoid doing that
Agree with that point. we should test this dataset with other apps. if it breaks them too, we assume it is not a valid dataset. Otherwise, we can be less strict with the test by doing |
@bcmcpher Have you seen an issue like this? The user mentions that he downloaded the dataset from LONI / PPMI. I don't have access to it. |
A user informed me that this validator is failing with his t1w image that he is trying to upload.
Nibabel gives following output for this input. Please note the dim is not right..
But, mrinfo shows following dimensions
I can open this image just fine with fslview, freeview, etc..
@aarya22 @skoudoro do you know what could be going wrong with this?
The text was updated successfully, but these errors were encountered: