Skip to content

Commit cfbdd13

Browse files
authored
Merge pull request #111 from siesta-project/Release1.2.0
Release1.2.0
2 parents acf1214 + c1772fc commit cfbdd13

File tree

174 files changed

+176320
-2018
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+176320
-2018
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
strategy:
4141
matrix:
42-
python-version: ['3.6','3.7','3.8']
42+
python-version: ['3.7','3.8',3.9]
4343

4444
services:
4545
postgres:
@@ -75,7 +75,7 @@ jobs:
7575
- name: Install system dependencies
7676
run: |
7777
sudo apt update
78-
sudo apt install postgresql-10
78+
sudo apt install postgresql
7979
- name: Install python dependencies
8080
run: |
8181
pip install -e .[dev]

.github/workflows/develop.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88

99
tests:
1010

11-
if: github.repository == 'albgar/aiida_siesta_plugin' # Prevent running the builds on forks as well
11+
if: github.repository == 'siesta-project/aiida_siesta_plugin' # Prevent running the builds on forks as well
1212

1313
runs-on: ubuntu-latest
1414

1515
strategy:
1616
matrix:
17-
python-version: [3.6, 3.7, 3.8]
17+
python-version: [3.7, 3.8, 3.9]
1818

1919
services:
2020
postgres:
@@ -50,7 +50,7 @@ jobs:
5050
- name: Install system dependencies
5151
run: |
5252
sudo apt update
53-
sudo apt install postgresql-10
53+
sudo apt install postgresql
5454
5555
- name: Install python dependencies
5656
continue-on-error: true
@@ -66,16 +66,3 @@ jobs:
6666
id: tests
6767
run:
6868
pytest -sv tests
69-
70-
- name: Slack notification
71-
if: steps.install.outcome == 'Failure' || steps.tests.outcome == 'Failure'
72-
uses: rtCamp/action-slack-notify@master
73-
env:
74-
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
75-
SLACK_ICON: https://www.materialscloud.org/discover/images/0ba0a17d.aiida-logo-128.png
76-
SLACK_USERNAME: aiida-siesta
77-
SLACK_CHANNEL: actions
78-
SLACK_COLOR: b60205
79-
SLACK_TITLE: "Nightly build against `aiida-core/develop` failed"
80-
SLACK_MESSAGE: "The tests fail with the current version of `aiida-core/develop`."
81-

.pre-commit-config.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
^tests/
1010
)
1111

12-
- repo: local
12+
13+
- repo: https://github.com/pre-commit/mirrors-yapf
14+
rev: v0.30.0
1315
hooks:
1416
- id: yapf
1517
name: yapf
1618
entry: yapf
17-
language: system
1819
types: [python]
1920
args: ['-d']
2021
exclude:
@@ -23,6 +24,9 @@
2324
^aiida_siesta/docs/|
2425
^tests/
2526
)
27+
28+
- repo: local
29+
hooks:
2630
- id: prospector
2731
language: system
2832
types: [file, python]

.pylintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,8 @@ function-naming-style=snake_case
325325
# Good variable names which should always be accepted, separated by a comma
326326
good-names=i,x,
327327
j,y,
328-
k,v,z,
328+
l,z,
329+
k,v,
329330
qb,
330331
Run,
331332
UpfData,

CHANGELOG.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## v1.2.0
4+
5+
Version compatible with aiida-core>=1.3.0,<2.0.0.
6+
Support for python 3.6 has been dropped.
7+
8+
### Improvements
9+
- Enable LUA interface to SIESTA. New inputs have been introduce to activate LUA control
10+
over siesta calculations.
11+
- Access to the [sisl](https://github.com/zerothi/sisl) functionalities, since sisl is now
12+
dependency of this package.
13+
- Introduction of the `IonData` data type that host the entity that in siesta terminology is called “ion”.
14+
An "ion" packages the set of basis orbitals and KB projectors for a given species and therefore
15+
can be use in substitution of the pseudo and basis inputs.
16+
An `IonData` node is also returned in output for each species of the calculation so to help
17+
the improve the tracking of used orbitals and KB projectors.
18+
From an `IonData` instance, the list of orbitals of the calculation can be easily accessed in the form
19+
of `SislAtomicOrbitals`.
20+
- Migration to the use of the [aiida-pseudo](https://github.com/aiidateam/aiida-pseudo) package for the
21+
management of pseudo data types and families. The development on the the support for pseudopotentials
22+
types has been centralized in an external package. The use of aiida-siesta custom classes `PsmlData`
23+
and `PsfData` has been deprecated and will be remove in version 2.0.0.
24+
25+
### Bug fixes
26+
- Fixed the atom heuristic selection of basis in the protocol system
27+
28+
### For developers
29+
- Heavy refactoring to take advantage of the aiida-core validators system.
30+
- Start reorganization of folders. Especially moved the location of the protocols
31+
system and of tkdict features.
32+
- Updated dependencies of tests and pre-commits.
33+
334
## v1.1.1
435

536
Version compatible with aiida-core>=1.3.0,<2.0.0.
@@ -30,7 +61,7 @@ Version compatible with aiida-core>=1.3.0,<2.0.0.
3061
and "kpoints" with value "None". This has been fixed.
3162
The method `inputs_generator().get_filled_builder` was instead correct.
3263
- A bug was leading to the failure of `SiestaSequentialConverger` in case one of
33-
the parameters to coverge in the sequential process was not reacing convergence.
64+
the parameters to converge in the sequential process was not reaching convergence.
3465
It is now fixed and, in addition, an output listing the unconverged parameters has been
3566
added.
3667

MANIFEST.in

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
include *.rst *.json *.txt *.md *.yml
2-
recursive-include aiida_siesta/docs/ *.rst
1+
include setup.json
2+
include AUTHORS.txt
3+
include CHANGELOG.md
4+
include PyPI-README.rst
5+
include LICENSE.txt
6+
graft aiida_siesta/examples/fixtures
37
recursive-include aiida_siesta/examples/ *.txt *.psf *.psml *.cif 00_README
4-
recursive-include aiida_siesta/utils *.yaml
8+
include aiida_siesta/utils/protocols_system/*.yaml
9+
include aiida_siesta/utils/*.yaml
510
prune tests
6-
prune aiida_siesta/docs/tutorialis/first_workchain
7-
prune aiida_siesta/docs/tutorialis/data_icn2_2020
11+
prune aiida_siesta/docs/tutorials/first_workchain
12+
prune aiida_siesta/docs/tutorials/data_icn2_2020

README.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ This work is supported by the [MARVEL National Centre for Competency
1818
in Research](<http://nccr-marvel.ch>) funded by the `Swiss National
1919
Science Foundation <http://www.snf.ch/en>`_, as well as by the `MaX
2020
European Centre of Excellence <http://www.max-centre.eu/>`_ funded by
21-
the Horizon 2020 INFRAEDI-2018-1 program, Grant No. 824143, and by
22-
the Spanish MINECO (projects
21+
the Horizon 2020 INFRAEDI-2018-1 program, Grant No. 824143, by the
22+
`INTERSECT <https://intersect-project.eu/>`_ (Interoperable material-to-device simulation box for
23+
disruptive electronics) project, funded by Horizon 2020 under grant
24+
agreement No 814487, and by the Spanish MINECO (projects
2325
FIS2012-37549-C05-05 and FIS2015-64886-C5-4-P)
2426

2527
.. figure:: aiida_siesta/docs/miscellaneous/logos/MARVEL.png
@@ -30,6 +32,10 @@ FIS2012-37549-C05-05 and FIS2015-64886-C5-4-P)
3032
:alt: MaX
3133
:target: http://www.max-centre.eu/
3234

35+
.. figure:: aiida_siesta/docs/miscellaneous/logos/INTERSECT.png
36+
:alt: INTERSECT
37+
:target: http://intersect-project.eu/
38+
3339
.. figure:: aiida_siesta/docs/miscellaneous/logos/MINECO-AEI.png
3440
:alt: MINECO-AEI
3541
:target: http://www.mineco.gob.es/

aiida_siesta/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""The official AiiDA plugin for Siesta."""
2-
__version__ = '1.1.1'
2+
__version__ = '1.2.0'

0 commit comments

Comments
 (0)