Skip to content

Commit 801b14c

Browse files
committed
update CHANGELOG; bump version 2.0a4
1 parent dd57146 commit 801b14c

File tree

6 files changed

+22
-10
lines changed

6 files changed

+22
-10
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9+
## [2.0a4] - 2024-08-18
10+
11+
### Added
12+
13+
- Added range checks for CompositionConverter methods taking a parametric composition axis index
14+
- Added FormationEnergyCalculator
15+
- Added make_standard_axes, make_normalized_origin_and_end_members
16+
- Added pretty_json, print_axes_summary, and print_axes_table
17+
- Added methods to CompositionCalculator: allowed_occs, vacancy_names, from_dict, to_dict, __repr__
18+
- Added CompositionConverter.__repr__
19+
- Added include_va option to CompositionConverter.param_chem_pot_formula to allow printing formulas with or without "chem_pot(Va)"
20+
21+
### Fixed
22+
23+
- Fixed CompositionConverter.origin_formula, which was calling the wrong method
24+
- Removed extra space in CompositionConverter.param_chem_pot_formula with leading negative term
25+
26+
927
## [2.0a3] - 2024-07-12
1028

1129
### Changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
1212

1313
[project]
1414
name = "libcasm-composition"
15-
version = "2.0a3"
15+
version = "2.0a4"
1616
authors = [
1717
{ name="CASM developers", email="casm-developers@lists.engr.ucsb.edu" },
1818
]

python/doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# -- package specific configuration --
44
project = "libcasm-composition"
55
version = "2.0" # The short X.Y version.
6-
release = "2.0a3" # The full version, including alpha/beta/rc tags.
6+
release = "2.0a4" # The full version, including alpha/beta/rc tags.
77
project_desc = "CASM Composition"
88
logo_text = "libcasm-composition"
99
github_url = "https://github.com/prisms-center/CASMcode_composition/"

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22

3-
__version__ = "2.0a3"
3+
__version__ = "2.0a4"
44

55
# Available at setup time due to pyproject.toml
66
from pybind11.setup_helpers import Pybind11Extension, build_ext

python/src/composition.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -702,12 +702,6 @@ PYBIND11_MODULE(_composition, m) {
702702
R"pbdoc(
703703
Return formula for the i-th mol composition component, :math:`n_i`, in terms of :math:`\vec{x}`.
704704
)pbdoc")
705-
// .def("param_chem_pot_formula",
706-
// &composition::CompositionConverter::param_chem_pot_formula,
707-
// py::arg("i"),
708-
// R"pbdoc(
709-
// Return formula for the parametric composition conjugate
710-
// potential in terms of the chemical potentials. )pbdoc")
711705
.def(
712706
"param_chem_pot_formula",
713707
[](composition::CompositionConverter const &m, int i,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="libcasm-composition",
5-
version="2.0a3",
5+
version="2.0a4",
66
packages=["libcasm", "libcasm.composition"],
77
package_dir={"": "python"},
88
cmake_install_dir="python/libcasm",

0 commit comments

Comments
 (0)