Skip to content

Commit

Permalink
Alternate solution to circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
josephburkhart committed Sep 13, 2024
1 parent f260fd2 commit 7f45afa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions coxeter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
applications such as inertia tensors.
"""

__version__ = "0.8.0"

from . import families, io, shapes
from .shape_getters import from_gsd_type_shapes

__all__ = ["families", "shapes", "from_gsd_type_shapes", "io"]

__version__ = "0.8.0"
__all__ = ["families", "shapes", "from_gsd_type_shapes", "io"]
4 changes: 1 addition & 3 deletions coxeter/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@
from copy import deepcopy
from importlib.metadata import version
from xml.etree import ElementTree

import numpy as np

__version__ = version("coxeter")
from coxeter import __version__


def to_obj(shape, filename):
Expand Down

0 comments on commit 7f45afa

Please sign in to comment.