-
Notifications
You must be signed in to change notification settings - Fork 18
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
How to use madx.help() #39
Comments
the output of the help command is just printed to STDOUT - so unless you close STDOUT, you don't need print. There is also a way to get the text in a variable by temporarily capturing STDOUT (in the remote process), but you will have to code that on your own. |
Looking at https://github.com/hibtc/cpymad/blob/master/cpymad/madx.py#L303, I think there is a minor error (relates to this question). The line is |
you're right, the quotes don't work. I had changed the generic representation of string values from bare words to quoted strings in c35c533 due to another issue. I will add a fix later. |
Hi, Thomas
I want to obtain the help information about a madx command via
madx.help()
, but I can't obtain anything. How to do?output:
None
The text was updated successfully, but these errors were encountered: