Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next release #159

Closed
wants to merge 65 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
0f4d2eb
Update readthedocs config
PhilippRue Nov 13, 2023
65d3930
Update readthedocs settings
PhilippRue Nov 13, 2023
857abb7
Small fixes
dantogni Nov 20, 2023
2934630
Add feature to write kkrflex_rimpshift file
PhilippRue Nov 22, 2023
9775bcf
Minor change to kkrflex_rimpshift docstring
PhilippRue Nov 22, 2023
72e6460
Expose rimpshipt to kkrimp_dos workchain
PhilippRue Nov 27, 2023
7ce6bec
Add forgotten setting of rimpshift to input port
PhilippRue Nov 28, 2023
0ac4137
Bugfix parse Jij's for CPA without SOC
PhilippRue Nov 29, 2023
014413b
Add tools to prepare for STM-like scanning of additional positions
PhilippRue Nov 30, 2023
38b5466
Fix unit of r_offset
PhilippRue Nov 30, 2023
90107a0
Remove starting offset
PhilippRue Nov 30, 2023
aa8b5c1
Fix alatbasis in jij workchain
PhilippRue Nov 30, 2023
97a9942
Minor bugfix
PhilippRue Dec 5, 2023
9cc6b32
Improvement of combine_imps workflow. Fix combine LDAU settings
dantogni Dec 9, 2023
4b4a10f
Adding combine_imp_wc entry point
dantogni Dec 13, 2023
37bc7f1
Bump pre-commit from 3.5.0 to 3.6.2
dependabot[bot] Feb 19, 2024
c9e1483
Bump pylint from 3.0.2 to 3.1.0
dependabot[bot] Feb 26, 2024
030fefe
Deactivate parsing of interpolated DOS files if no data is in there.
PhilippRue Feb 29, 2024
eaf9a4c
First commit of the new STM workchain
Raff-physics Mar 8, 2024
668fb36
Updated file for initializing the new Workchain
Raff-physics Mar 8, 2024
3e19db6
Adding convergence check for ldaupot rms in kkr_imp_sub.wc + ldau too…
dantogni Mar 14, 2024
3a5e5e3
Merge branch 'develop' of https://github.com/JuDFTteam/aiida-kkr into…
dantogni Mar 14, 2024
4ef825c
Merge branch 'develop' of https://github.com/JuDFTteam/aiida-kkr into…
Raff-physics Mar 28, 2024
aab7c9a
Working STM workflow
Raff-physics Apr 3, 2024
e6e257f
Small fixes, and semantic adjustments
Raff-physics Apr 3, 2024
55558f5
Update pyproject.toml
Raff-physics Apr 12, 2024
b8d6315
Update pyproject.toml
Raff-physics Apr 12, 2024
c5c07e4
Update test_entrypoints.py
Raff-physics Apr 12, 2024
845a75e
Solved a problem in kkr_imp_sub, for which the workflow would stop if…
Raff-physics Apr 17, 2024
414cb04
Merge branch 'develop' of https://github.com/JuDFTteam/aiida-kkr into…
Raff-physics Apr 17, 2024
5d29c70
latest version of the STM wokrflow, now able to run calculatios ona 2…
Raff-physics Apr 18, 2024
a5cf84c
This push contains the lastest version of the STM workflow (now kkr_S…
Raff-physics Apr 23, 2024
cd8eadd
new functions in tools_STM for visualization
Raff-physics Apr 23, 2024
deeb2f8
Fixing parse_impdosfile array names for lmdos + pre-commit fixes
dantogni May 3, 2024
0118b47
Bugfix combine imps workflow after update to aiida v2
PhilippRue May 10, 2024
e591719
Pre-commit fixes
PhilippRue May 10, 2024
792fac1
Some borken dependencies in the kkr_STM_wc have been fixed
Raff-physics May 13, 2024
2b51d09
kkr_STM_wc with BdG
Raff-physics May 23, 2024
906017e
BdG for the kkr_STM worchain, and robustness improvement for the STM_…
Raff-physics May 23, 2024
0f99474
Merge branch 'develop' of https://github.com/JuDFTteam/aiida-kkr into…
Raff-physics May 23, 2024
4156f33
Merge branch 'develop' into bugfix_combine_imps
PhilippRue May 29, 2024
b42436d
Undo changes in merge to STM tool (development done in separate branch)
PhilippRue May 29, 2024
b5f1e4c
Merge pull request #155 from JuDFTteam/bugfix_combine_imps
PhilippRue May 29, 2024
8fc9b34
Merge remote-tracking branch 'origin/master' into develop
PhilippRue May 29, 2024
ec495f0
Solved some unmerged conflicts that prevented the use of the previous…
Raff-physics Jun 6, 2024
ff48ed1
Small bugfix
PhilippRue Jun 17, 2024
4192c3f
adding kkr_params_overzrite input in kkr_scf_wc
dantogni Jun 17, 2024
1ee56bb
Exposing settings_LDAU input in kkr_imp_wc + imp_BdG workflow improve…
dantogni Jun 28, 2024
11b3ed1
Adding lmdos outputs nodes in imp_BdG wc + small fixes in results out…
dantogni Jul 8, 2024
b879b22
Adding settings_LDAU input in kkr_imp_wc
dantogni Jul 16, 2024
327140c
base.links.get_incoming instead of get.comming
MRHemmati Jul 18, 2024
40d8fa4
Improvements to stability
PhilippRue Oct 2, 2024
04b29cd
Pre-commit fixes
PhilippRue Oct 2, 2024
5b741c6
add shapefun_overwrite input to voro calc
dantogni Oct 8, 2024
19bc1c9
Merge branch 'develop' of https://github.com/JuDFTteam/aiida-kkr into…
dantogni Oct 8, 2024
19e728a
Extend parse_Jij function compatibility
dantogni Oct 8, 2024
27616f7
Add example notebook combining Jij extraction and spin dynamics simul…
PhilippRue Nov 11, 2024
cf2b57c
Update decimation workchain
PhilippRue Nov 15, 2024
f6abcf1
Merge pull request #151 from JuDFTteam/dependabot/pip/develop/pre-com…
PhilippRue Nov 15, 2024
33c356d
Merge pull request #152 from JuDFTteam/dependabot/pip/develop/pylint-…
PhilippRue Nov 15, 2024
de83ddc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 15, 2024
620cc4c
Update ci.yml
PhilippRue Nov 15, 2024
4d33c2c
Update github actions
PhilippRue Nov 18, 2024
fc98f34
Fix pylint checks for decimation workflow
PhilippRue Nov 18, 2024
d0cb33b
Update developer guide
PhilippRue Nov 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
timeout-minutes: 30

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12

- name: Cache python dependencies
id: cache-pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-docs-${{ hashFiles('**/setup.json') }}
Expand Down Expand Up @@ -53,21 +53,21 @@ jobs:
timeout-minutes: 30

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache python dependencies
id: cache-pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-pre-commit-${{ hashFiles('**/setup.json') }}
restore-keys: |
pip-pre-commit-

- name: Set up Python 3.8
uses: actions/setup-python@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12

- name: Install python dependencies
run: |
Expand All @@ -93,8 +93,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
aiida: [{version: 'aiida-core==2.3.0', name: '2.3.0'}]
python-version: ["3.10", "3.11", "3.12"]
aiida: [{version: 'aiida-core==2.6.3', name: '2.6.3'}]
masci-tools: [{version: 'git+https://github.com/JuDFTteam/masci-tools.git@develop', name: '-masci-develop'}]
allowed-to-fail: [false]

Expand Down Expand Up @@ -122,10 +122,10 @@ jobs:
- 5001:22

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -176,14 +176,14 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v4
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: 3.12
- name: Install flit
run: |
pip install flit~=3.4
pip install flit~=3.10
- name: Build and publish to PyPi
run: |
flit publish
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
timeout-minutes: 30

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12

- name: Cache python dependencies
id: cache-pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-docs-${{ hashFiles('**/setup.json') }}
Expand Down Expand Up @@ -47,21 +47,21 @@ jobs:
timeout-minutes: 30

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache python dependencies
id: cache-pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-pre-commit-${{ hashFiles('**/setup.json') }}
restore-keys: |
pip-pre-commit-

- name: Set up Python 3.8
uses: actions/setup-python@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12

- name: Install python dependencies
run: |
Expand All @@ -87,8 +87,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
aiida: [{version: 'aiida-core==2.3.0', name: '2.3.0'}]
python-version: ["3.10", "3.11", "3.12"]
aiida: [{version: 'aiida-core==2.6.3', name: '2.6.3'}]
masci-tools: [{version: 'git+https://github.com/JuDFTteam/masci-tools.git@develop', name: '-masci-develop'}]
allowed-to-fail: [false]

Expand Down Expand Up @@ -116,10 +116,10 @@ jobs:
- 5001:22

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -174,14 +174,14 @@ jobs:
GITHUB_SUITE=True ./run_all.sh || exit 0

- name: Archive test output artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results-AIIDA__${{ matrix.aiida.name }}__MASCI__${{ matrix.masci-tools.name }}
path: tests

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./tests/coverage.xml
Expand Down
39 changes: 26 additions & 13 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build documentation in the docs/ directory with Sphinx
# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
builder: html
configuration: docs/source/conf.py
configuration: docs/source/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
builder: "html"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# Optionally build your docs in additional formats such as PDF
# Optionally build your docs in additional formats such as PDF and ePub
formats:
- pdf
- pdf

# Optionally set the version of Python and requirements required to build your docs
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
version: 3.8
install:
- method: pip
path: .
extra_requirements:
- docs
system_packages: true
install:
- method: pip
path: .
extra_requirements:
- docs
#- system_packages: true
5 changes: 4 additions & 1 deletion aiida_kkr/calculations/kkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'IAS-1/PGI-1, Germany. All rights reserved.')
__license__ = 'MIT license, see LICENSE.txt file'

__version__ = '0.13.0'
__version__ = '0.13.1'

__contributors__ = ('Jens Bröder', 'Philipp Rüßmann')

Expand Down Expand Up @@ -1062,6 +1062,9 @@ def _use_initial_noco_angles(self, parameters, structure, tempfolder):
raise InputValidationError(
f'Error: theta value out of range (0..180): iatom={iatom}, theta={theta}'
)
# convert fix_dir to boolean if given as integer
if not isinstance(fix_dir, bool):
fix_dir = (fix_dir == 1)
# write line
noco_angle_file.write(f' {theta} {phi} {fix_dir[iatom]}\n')

Expand Down
Loading
Loading