Skip to content

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Nov 4, 2022
1 parent 42a1587 commit 0dc07da
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion abics/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0"
__version__ = "2.0.1"
4 changes: 3 additions & 1 deletion abics/scripts/activelearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

import numpy as np

from abics import __version__

from abics.mc import RandomSampling

from abics.mc_mpi import (
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion abics/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion abics/scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions docs/sphinx/en/source/about/info.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/sphinx/en/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions docs/sphinx/ja/source/about/info.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/sphinx/ja/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <abics-dev@issp.u-tokyo.ac.jp>"]
license = "GPL-3.0-or-later"
Expand Down

0 comments on commit 0dc07da

Please sign in to comment.