File tree Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,6 @@ def __str__(self):
221221 )
222222
223223 def to_numexpr (self ):
224- print (str (self .function ))
225224 match str (self .function ):
226225 case "pi" :
227226 return "arccos(-1)"
@@ -385,7 +384,6 @@ def to_root(self):
385384
386385
387386 def to_python (self ):
388- print (str (self .function ))
389387 match str (self .function ):
390388 case "pi" :
391389 return "np.pi"
Original file line number Diff line number Diff line change 1212
1313from ._version import __version__
1414
15- # print("======================")
16- # print(__version__.__repr__())
17- # print("======================")
18-
19- # __all__ = ("__version__",)
20-
21-
2215
2316def from_root (exp : str , ** kwargs ) -> AST :
2417 """Evaluate ttreformula expressions."""
Original file line number Diff line number Diff line change 111111
112112def _get_func_names (func_names ):
113113 children = []
114- print (func_names )
115114 if len (func_names .children ) > 1 :
116115 children .extend (_get_func_names (func_names .children [1 ]))
117116 children .append (func_names .children [0 ])
@@ -172,7 +171,6 @@ def toast(ptnode: matching_tree.ptnode, nxp : bool):
172171 index = func_names [0 ].start_pos ,
173172 )
174173 for elem in trailer .children [0 ].children :
175- print (elem )
176174 func_arguments = [toast (elem ,nxp ) for elem in trailer .children [0 ].children ]
177175
178176 funcs = root_to_common (func_names , func_names [0 ].start_pos )
@@ -184,7 +182,6 @@ def toast(ptnode: matching_tree.ptnode, nxp : bool):
184182 var_name = _get_func_names (children [0 ])[0 ]
185183 else :
186184 var_name = children [0 ]
187- print (var_name )
188185 temp_symbol = AST .Symbol (str (var_name ), index = var_name .start_pos )
189186 # if temp_symbol.check_CNAME() is not None:
190187 return temp_symbol
You can’t perform that action at this time.
0 commit comments