File tree Expand file tree Collapse file tree 6 files changed +7
-98
lines changed
bindings/pyroot/pythonizations Expand file tree Collapse file tree 6 files changed +7
-98
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ set(py_sources
127127 ROOT/_pythonization/_ttree.py
128128 ROOT/_pythonization/_tvector3.py
129129 ROOT/_pythonization/_tvectort.py
130- ROOT/_pythonization/_uhi/main .py
130+ ROOT/_pythonization/_uhi/__init__ .py
131131 ROOT/_pythonization/_uhi/tags.py
132132 ROOT/_pythonization/_uhi/indexing.py
133133 ROOT/_pythonization/_uhi/plotting.py
Original file line number Diff line number Diff line change @@ -479,7 +479,7 @@ def uhi(self):
479479 uhi_module .__file__ = "<module ROOT>"
480480 uhi_module .__package__ = self
481481 try :
482- from ._pythonization ._uhi . main import _add_module_level_uhi_helpers
482+ from ._pythonization ._uhi import _add_module_level_uhi_helpers
483483
484484 _add_module_level_uhi_helpers (uhi_module )
485485 except ImportError :
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ def _FillWithArrayTH1(self, *args):
242242for klass in _th1_derived_classes_to_pythonize :
243243 pythonization (klass )(inject_constructor_releasing_ownership )
244244
245- from ROOT ._pythonization ._uhi . main import _add_plotting_features
245+ from ROOT ._pythonization ._uhi import _add_plotting_features
246246
247247 # Add UHI plotting features
248248 pythonization (klass )(_add_plotting_features )
@@ -254,15 +254,15 @@ def _enable_numpy_fill(klass):
254254 klass .Fill = _FillWithArrayTH1
255255
256256 # Add serialization features
257- from ROOT ._pythonization ._uhi . main import _add_serialization_features
257+ from ROOT ._pythonization ._uhi import _add_serialization_features
258258 pythonization (klass )(_add_serialization_features )
259259
260260
261261@pythonization ("TH1" )
262262def pythonize_th1 (klass ):
263263 # Parameters:
264264 # klass: class to be pythonized
265- from ROOT ._pythonization ._uhi . main import _add_indexing_features
265+ from ROOT ._pythonization ._uhi import _add_indexing_features
266266
267267 # Support hist *= scalar
268268 klass .__imul__ = _imul
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def _FillWithArrayTH2(self, *args):
8080for klass in _th2_derived_classes_to_pythonize :
8181 pythonization (klass )(inject_constructor_releasing_ownership )
8282
83- from ROOT ._pythonization ._uhi . main import _add_plotting_features
83+ from ROOT ._pythonization ._uhi import _add_plotting_features
8484
8585 # Add UHI plotting features
8686 pythonization (klass )(_add_plotting_features )
Original file line number Diff line number Diff line change 2727for klass in _th3_derived_classes_to_pythonize :
2828 pythonization (klass )(inject_constructor_releasing_ownership )
2929
30- from ROOT ._pythonization ._uhi . main import _add_plotting_features
30+ from ROOT ._pythonization ._uhi import _add_plotting_features
3131
3232 # Add UHI plotting features
3333 pythonization (klass )(_add_plotting_features )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments