-
Notifications
You must be signed in to change notification settings - Fork 70
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
UnboundLocalError in make_sinc_pulse.py #46
Comments
Please let me know if pulling from the latest |
The
fixed the issue. For consistency I would use the same if-else style in the make_gauss_pulse.py as well. Very minor thing: |
Thanks @schuenke for bearing with me. The latest commits must have fixed this for good! |
Issue is fixed now. Thanks @sravan953 ! |
Since 7542b39 I get the error
UnboundLocalError: local variable 'gz' referenced before assignment
when creating an rf pulse with make_sinc_pulse.py.This happens when I set
return_gz = False
or when I don't set any return_gz value and thus use the False default value.The text was updated successfully, but these errors were encountered: