Skip to content

Commit

Permalink
restore missing import, add __all__
Browse files Browse the repository at this point in the history
  • Loading branch information
Jhsmit committed Jun 14, 2024
1 parent e8fb69a commit ca50606
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pyhdx/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
from pyhdx.__version__ import __version__
from pyhdx.datasets import read_dynamx
from pyhdx.fitting_torch import TorchFitResult, TorchFitResultSet
from pyhdx.models import (
Coverage,
HDXMeasurement,
HDXMeasurementSet,
HDXTimepoint,
)

VERSION_STRING = f"PyHDX {__version__}"

try:
from pyhdx.output import FitReport
except ModuleNotFoundError:
pass


__all__ = [
"HDXTimepoint",
"HDXMeasurement",
"Coverage",
"HDXMeasurementSet",
"read_dynamx",
"TorchFitResult",
"TorchFitResultSet",
"FitReport",
]

0 comments on commit ca50606

Please sign in to comment.