Skip to content

Commit

Permalink
fixed circular import, version 0.3.1 uploaded
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan-tsirkin committed May 27, 2024
1 parent 7b185c7 commit b2d3e77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions banduppy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
__version__ = "0.3.1"

import irrep
if irrep.__version__ <"1.6.2" :
raise ImportError("A critical bug was found in irrep-1.6.1, which caused incorrect results for unfolding with spin-orbit. Please ipdate irrep to 1.6.2 or newer (when available)")

from irrep.bandstructure import BandStructure

from .unfolding import Unfolding, Properties, Plotting

__version__ = "0.3.0"
__all__ = ['Unfolding', 'BandStructure', 'Properties', 'Plotting']
1 change: 0 additions & 1 deletion banduppy/src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
from .unfolding import BandUnfolding
from .folding_properties import FindProperties

__version__ = "0.3.0"
### ===========================================================================
__all__ = ['BandFolding','BandUnfolding', 'FindProperties']
1 change: 0 additions & 1 deletion banduppy/src/unfolding.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import numpy as np
from ..BasicFunctions.general_functions import SaveData2File, _BasicFunctionsModule, _draw_line_length
from .._version import _pkg_version
try:
from irrep.__aux import is_round
except ImportError:
Expand Down

0 comments on commit b2d3e77

Please sign in to comment.