-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Variable names are not changed for their values #7338
Comments
Hi @shirounanashi, thank you for opening this issue, can you verify that this code snippet works when ran as a python script? Can you add a check to compare the value entered against the values in the list? The error message:
lists string values while pitch is set to the integer zero |
Hi @RRosio , I changed it to pitch="0" and got the same output |
Thank you for the additional information @shirounanashi, and just to double check, running this as a script on its own rather than a notebook does not result in the same issue? |
When you run the script by account, it results in the script running normally, unlike when running on a notebook, that it does not replace the value of the variable. But I have to test again to see if the result hasn't changed. |
Description
Variable names are not changed for their values when using a variable as an argument to a Python script
Reproduce
Expected behavior
The name of the variable will be replaced by its value
Context
Notebook Output
The text was updated successfully, but these errors were encountered: