-
Notifications
You must be signed in to change notification settings - Fork 58
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
Error catching #169
Error catching #169
Conversation
ileppe
commented
Feb 23, 2018
- Some general error-catching functionality that pops up a window to let the user know the input was not provided correctly.
- Please see issue Error checking #156 for cases currently handled and try to break it! ;)
Also, correct qMRusage for voxelwise=0 methods.
…are reset to default
- forgot 1 instance
|
Travis is fixed, @ileppe I'm done with this branch. I let you clarify the SanityCheck warnings for singleton dimensions if you want (see previous message). Thanks! |
@tanguyduval Even if It should be simple to ensure that the number of dimensions matches the qMRLab expected number of dimensions right when the data is loaded, by comparing the But we can continue that discussion on the other issue page, let's not bloat this current branch with too many unrelated changes like we did for new_doc. |
@tanguyduval, why did you change to
Instead, it goes on and crashes in the next error check. I hope that's clear. |
@mathieuboudreau if @ileppe If an error appears, it DOES NOT go on to all checks, but breaks and throw an |
@tanguyduval I agree, that's fine with me then. However, we should still investigate deeper into why @agahkarakuzu encountered this in the first place. We were lucky he's a dev that encountered this problem, if he was another user, he might not have reached out to us. We need to try to ensure that whatever lead to him having this issue is not repeated by other people after the ISMRM release, whether that be changes in the code or changes in the documentation on how to load/save data. @agahkarakuzu let's continue this discussion on the other issue. Could you give a more detailed explanation as to how we could reproduce this error you encountered regarding singleton dimensions? |
@tanguyduval ok, sorry I was not clear, but the problem is that it breaks out of the Does not throw an Giving the user no info about the missing input problem. |
@tanguyduval please check and approve this one too pls! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hooray! We are sane.
Regarding dimension issue discussed in this PR, please see this suggestion to confirm if it is also sane :)
@ileppe looked good to me too, good job! Thanks Agah for reviewing it :) |