You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pymadng/madp_object.py
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ def __init__(
64
64
self,
65
65
mad_path: str|Path=None,
66
66
py_name: str="py",
67
-
debug: int|str|bool=False,
67
+
debug: int|str|Path|bool=False,
68
68
num_temp_vars: int=8,
69
69
ipython_use_jedi: bool=False,
70
70
):
@@ -76,7 +76,7 @@ def __init__(
76
76
Args:
77
77
mad_path (str): The path to the mad executable, for the default value of None, the one that comes with pymadng package will be used
78
78
py_name (str): The name used to interact with the python process from MAD
79
-
debug (bool): Sets debug mode on or off
79
+
debug (int| str | Path | bool): Sets debug mode on or off. If an int is given, it is expected to be a file descriptor. If a string or Path is given, it is expected to be a file path, and will open this file to write to. If true, it will write to the stdout, and if false no debug information will be written.
80
80
num_temp_vars (int): The number of unique temporary variables you intend to use, see :doc:`Managing References <ex-managing-refs>`
81
81
ipython_use_jedi (bool): Allow ipython to use jedi in tab completion, will be slower and may result in MAD-NG throwing errors
0 commit comments