Skip to content

Commit

Permalink
Fix issue#11
Browse files Browse the repository at this point in the history
  • Loading branch information
adrybakov committed Nov 23, 2023
1 parent b062d88 commit 381e74c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docs/source/release-notes/0.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,8 @@ Change default colors for the magnon dispersion plots.

Minor improvements. Add parameters to the :py:meth:`.MagnonDispersion.omega`.
Move from `setup.py`` to ``pyproject.toml``.

0.8.11
------

Bugfix in :py:func:`.dump_ucf`. - number of materials was not written. It is working properly now.
6 changes: 3 additions & 3 deletions radtools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"""


__version__ = "0.8.10"
__version__ = "0.8.11"
__doclink__ = "rad-tools.org"
__git_hash__ = "41ab03fcbc646844764abf3583eaee1452325eae"
__release_date__ = "4 November 2023"
__git_hash__ = "b062d88d62d5d7f1c87706d712d36bd466768318"
__release_date__ = "23 November 2023"


from . import (
Expand Down
2 changes: 1 addition & 1 deletion radtools/io/vampire.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def dump_ucf(
+ "\n"
)
result.append("# Atoms\n")
result.append(f"{len(spinham.magnetic_atoms)} 1\n")
result.append(f"{len(spinham.magnetic_atoms)} {len(np.unique(materials))}\n")
atom_indices = {}
for a_i, atom in enumerate(spinham.magnetic_atoms):
result.append(
Expand Down

0 comments on commit 381e74c

Please sign in to comment.