Skip to content

Commit

Permalink
Reset NSW when reading the SC calc
Browse files Browse the repository at this point in the history
  • Loading branch information
jochym committed Oct 22, 2024
1 parent 7b020da commit 3a5e711
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions 02_CLI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
" calculator.set(directory=workdir)\n",
" command = Path(command)\n",
" calculator.set(command=f'{command.absolute()} {label}')\n",
" calculator.set(nsw=0)\n",
" else:\n",
" print(f'The {calc} calculator is not supported.')\n",
" return\n",
Expand Down
2 changes: 1 addition & 1 deletion hecss/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.5.25"
__version__ = "0.5.26"

from .core import *

1 change: 1 addition & 0 deletions hecss/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def hecss_sampler(fname, workdir, label, temp, width, ampl, scale, symprec, calc
calculator.set(directory=workdir)
command = Path(command)
calculator.set(command=f'{command.absolute()} {label}')
calculator.set(nsw=0)
else:
print(f'The {calc} calculator is not supported.')
return
Expand Down
2 changes: 1 addition & 1 deletion settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ author = Paweł T. Jochym
author_email = pawel.jochym@ifj.edu.pl
copyright = Paweł T. Jochym
branch = devel
version = 0.5.25
version = 0.5.26
min_python = 3.7
audience = Science/Research
language = English
Expand Down

0 comments on commit 3a5e711

Please sign in to comment.