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

Use a pythonic way to compare a variable as None #1361

Merged
merged 1 commit into from
Jun 16, 2017

Conversation

SaraDupont
Copy link
Contributor

in msct_smooth, l272, change if z == None by if z is None as z can be a list of coordinates, creating an error during the straightening.

Error observed when calling sct_register_to_template :
capture d ecran 2017-06-16 12 02 51

in msct_smooth, l272, change `if z == None ` by `if z is None` as `z` can be a list of coordinates, creating an error during the straightening. 

Error observed when calling `sct_register_to_template`
@peristeri peristeri added bug category: fixes an error in the code fix:patch labels Jun 16, 2017
@peristeri peristeri added this to the Release v3.0.6 milestone Jun 16, 2017
@peristeri peristeri changed the title minor change in msct_smooth Use a pythonic way to compare a variable as None Jun 16, 2017
@peristeri peristeri merged commit 0677305 into master Jun 16, 2017
@peristeri peristeri deleted the SaraDupont-patch-1 branch June 16, 2017 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug category: fixes an error in the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants