diff --git a/abics/__init__.py b/abics/__init__.py index 8c0d5d5b..159d48b8 100644 --- a/abics/__init__.py +++ b/abics/__init__.py @@ -1 +1 @@ -__version__ = "2.0.0" +__version__ = "2.0.1" diff --git a/abics/scripts/activelearn.py b/abics/scripts/activelearn.py index 643f3cab..e6d33682 100644 --- a/abics/scripts/activelearn.py +++ b/abics/scripts/activelearn.py @@ -23,6 +23,8 @@ import numpy as np +from abics import __version__ + from abics.mc import RandomSampling from abics.mc_mpi import ( @@ -480,7 +482,7 @@ def main_impl(tomlfile): def main(): now = datetime.datetime.now() if MPI.COMM_WORLD.Get_rank() == 0: - print("Running abics_mlref (abICS v.2.0.0) on {}".format(now)) + print("Running abics_mlref (abICS v{}) on {}".format(__version__, now)) tomlfile = sys.argv[1] if len(sys.argv) > 1 else "input.toml" if MPI.COMM_WORLD.Get_rank() == 0: diff --git a/abics/scripts/main.py b/abics/scripts/main.py index 76c6d232..7780bba8 100644 --- a/abics/scripts/main.py +++ b/abics/scripts/main.py @@ -22,6 +22,7 @@ import numpy as np import scipy.constants as constants +from abics import __version__ from abics.mc import CanonicalMonteCarlo, RandomSampling from abics.mc_mpi import ( RX_MPI_init, @@ -386,7 +387,7 @@ def main(): now = datetime.datetime.now() if MPI.COMM_WORLD.Get_rank() == 0: - print("Running abics_sampling (abICS v.2.0.0) on {}".format(now)) + print("Running abics_sampling (abICS v{}) on {}".format(__version__, now)) tomlfile = sys.argv[1] if len(sys.argv) > 1 else "input.toml" if MPI.COMM_WORLD.Get_rank() == 0: diff --git a/abics/scripts/train.py b/abics/scripts/train.py index bc4a6a6d..ef0eb7be 100644 --- a/abics/scripts/train.py +++ b/abics/scripts/train.py @@ -16,6 +16,7 @@ import sys, datetime +from abics import __version__ from abics.applications.latgas_abinitio_interface.params import DFTParams, TrainerParams from abics.applications.latgas_abinitio_interface import aenet_trainer from abics.applications.latgas_abinitio_interface import map2perflat @@ -234,7 +235,7 @@ def main_impl(tomlfile): def main(): now = datetime.datetime.now() - print("Running abics_train (abICS v.2.0.0) on {}".format(now)) + print("Running abics_train (abICS v{}) on {}".format(__version__, now)) tomlfile = sys.argv[1] if len(sys.argv) > 1 else "input.toml" print("-Reading input from: {}".format(tomlfile)) main_impl(tomlfile) diff --git a/docs/sphinx/en/source/about/info.rst b/docs/sphinx/en/source/about/info.rst index f6938d49..81837f0a 100644 --- a/docs/sphinx/en/source/about/info.rst +++ b/docs/sphinx/en/source/about/info.rst @@ -36,6 +36,7 @@ abICS is developed by the following members. Version information ------------------------------------------ +- ver. 2.0.1 : 2022/06/24. - ver. 2.0 : 2022/06/24. - ver. 1.0 : 2020/05/01. - ver. 1.0-beta : 2020/03/31. diff --git a/docs/sphinx/en/source/conf.py b/docs/sphinx/en/source/conf.py index 9b7b1396..a43bccbc 100644 --- a/docs/sphinx/en/source/conf.py +++ b/docs/sphinx/en/source/conf.py @@ -58,9 +58,9 @@ # built documents. # # The short X.Y version. -version = u'2.0.0' +version = u'2.0' # The full version, including alpha/beta/rc tags. -release = u'2.0.0' +release = u'2.0.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/sphinx/ja/source/about/info.rst b/docs/sphinx/ja/source/about/info.rst index 41cbda39..c9d81d83 100644 --- a/docs/sphinx/ja/source/about/info.rst +++ b/docs/sphinx/ja/source/about/info.rst @@ -37,6 +37,7 @@ abICSは以下のメンバーで開発しています. バージョン履歴 ------------------------------------------ +- ver.2.0.1 : 2022/11/04. - ver.2.0 : 2022/06/24. - ver.1.0 : 2020/05/01. - ver.1.0-beta : 2020/03/31. diff --git a/docs/sphinx/ja/source/conf.py b/docs/sphinx/ja/source/conf.py index b8ebb742..4bd01b4c 100644 --- a/docs/sphinx/ja/source/conf.py +++ b/docs/sphinx/ja/source/conf.py @@ -55,9 +55,9 @@ # built documents. # # The short X.Y version. -version = u'2.0.0' +version = u'2.0' # The full version, including alpha/beta/rc tags. -release = u'2.0.0' +release = u'2.0.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/pyproject.toml b/pyproject.toml index aa0b56ae..7e82707c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "abics" -version = "2.0.0" +version = "2.0.1" description = "ab-Initio Configuration Sampling tool kit" authors = ["abICS developers "] license = "GPL-3.0-or-later"