Skip to content

Commit

Permalink
export all submodule symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
jacanchaplais committed Nov 2, 2022
1 parent 936b36a commit dd79cea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 4 additions & 3 deletions heparchy/read/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
-----
Currently only implemented for hepmc and hdf5.
"""
import heparchy.read.hdf as hdf
from . import hdf
from .hdf import *
import heparchy.read.hepmc as hepmc


HdfReader = hdf.HdfReader
HepMC = hepmc.HepMC


__all__ = ["HdfReader", "HepMC"]
__all__ = ["HepMC"]
__all__.extend(hdf.__all__)
7 changes: 3 additions & 4 deletions heparchy/write/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
-----
Currently only implemented for hdf5.
"""
import heparchy.write.hdf as hdf
from . import hdf
from .hdf import *


HdfWriter = hdf.HdfWriter

__all__ = ["HdfWriter"]
__all__ = hdf.__all__.copy()

0 comments on commit dd79cea

Please sign in to comment.