Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
rgieseke committed Feb 27, 2024
1 parent 5efc64a commit 007baf8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pyhector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@

from ._binding import __hector_version__ # noqa: F401 # pylint: disable=E0611
from ._binding import _Hector # pylint: disable=no-name-in-module
from ._version import get_versions
from .default_config import _default_config
from .emissions import emissions
from .output import output
from .units import units

__version__ = get_versions()["version"]
del get_versions
from . import _version

__version__ = _version.get_versions()["version"]


class Hector(_Hector):
Expand Down Expand Up @@ -297,6 +297,3 @@ def run(scenario, config=None, base_config=None, outputs=None, return_config=Fal
return results


from . import _version

__version__ = _version.get_versions()["version"]

0 comments on commit 007baf8

Please sign in to comment.