Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
dc6166d
Added support for automated block detection and started to reformulat…
elinscott Feb 23, 2023
7cf49ea
Bugfixes and mypy compliance
elinscott Feb 23, 2023
d5bd072
Adding functionality for splitting band blocks (WIP)
elinscott Feb 24, 2023
996fd59
Implementing atomic projectors for wannierization
elinscott Feb 28, 2023
7e4f0e2
Minor improvements to cell.py
elinscott Mar 3, 2023
bc1f816
More uniform eps for bandpath generation; sanitize grid provided to K…
elinscott Mar 3, 2023
c4af749
Added support for dis_proj_max
elinscott Mar 3, 2023
e03324c
Added corresponding_taskname attribute to workflows
elinscott Mar 3, 2023
b57ae8f
Initialize ibrav and provide it when generating a json
elinscott Mar 3, 2023
8dff3f0
Defer wannierize sanity checks until when running the calculation; re…
elinscott Mar 3, 2023
8b30f8f
Add special_points check to kpoints tests
elinscott Mar 3, 2023
6695450
Add aiida-pseudo's recommended cutoffs for pseudo-dojo pseudpotentials
elinscott Mar 3, 2023
647eb92
Write function for extracting recommended cutoffs from a json file
elinscott Mar 3, 2023
0f2f9a5
Add auto-generation of cutoffs where possible
elinscott Mar 3, 2023
a72839f
Fixed typo
elinscott Mar 3, 2023
2c14607
Merge branch 'auto_ecutwfc' into automated_wannierization
elinscott Mar 3, 2023
4309d36
Fixed prefixes in cutoff databases
elinscott Mar 3, 2023
a27729d
Merge branch 'auto_ecutwfc' into automated_wannierization
elinscott Mar 3, 2023
a1f8b10
Change automated ecutrho to only be applied if ecutwfc is absent
elinscott Mar 3, 2023
fb2fe8b
Merge branch 'auto_ecutwfc' into automated_wannierization
elinscott Mar 3, 2023
d6cc081
Updated ASE version requirements
elinscott Mar 3, 2023
d3535cb
Fixed formatted string
elinscott Mar 3, 2023
b26c5b0
Merge branch 'auto_ecutwfc' into automated_wannierization
elinscott Mar 3, 2023
4ff7af8
Properly tracking extra bands when splitting projections
elinscott Mar 3, 2023
ea06cee
Changing to using wjl with a config file (WIP)
elinscott Mar 13, 2023
9edae42
Tweaks to make wjl splitvc work for multiple blocks
elinscott May 12, 2023
8c57e58
Fix for wannierize workflow when forcing nspin=2
elinscott Jun 19, 2023
d1207ea
Adding external projector keywords
elinscott Dec 14, 2023
5243662
Updated auto calculation of num_wann when atom_proj_ext = True
elinscott Dec 22, 2023
da379b5
Merge master into automated_wannierization branch
elinscott Mar 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
17 changes: 9 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,23 @@ jobs:
os: [ubuntu-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python 3.8
uses: actions/setup-python@v2
submodules: false
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Test the source code
run: |
pytest --ci tests/ -m 'not (tutorials or espresso)' --cov-config=.coveragerc --cov=./koopmans/ --cov-report=xml
pytest -x --ci tests/ -m 'not (tutorials or espresso)' --cov-config=.coveragerc --cov=./src/koopmans/ --cov-report=xml
- name: Upload coverage to Codecov
if: github.repository == 'epfl-theos/koopmans'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
file: coverage.xml
files: coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
os: [ubuntu-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python 3.8
uses: actions/setup-python@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Test the tutorials
run: |
pytest --ci tests/ -m tutorials
pytest -x --ci tests/ -m tutorials
8 changes: 4 additions & 4 deletions .github/workflows/typechecking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
max-parallel: 3
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: false
- name: Set up Python 3.8
uses: actions/setup-python@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/update_citation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v6
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: tj-actions/branch-names@v8
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -30,7 +30,9 @@ jobs:
run: |
python bin/update_cff.py
- name: Validate CITATION.cff
uses: dieghernan/cff-validator@main
uses: dieghernan/cff-validator@v3
with:
install-r: true
- name: Commit changes
uses: test-room-7/action-update-file@v1
with:
Expand Down
12 changes: 2 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.pkl
*.swp
*.png
*.log
__pycache__/
.vscode
monkeytype.sqlite3
Expand All @@ -17,15 +18,6 @@ coverage.xml
.mypy_cache/
TMP-CP/
TMP/
calc_alpha/
calculate_eps/
dft_bands/
final/
init/
pdos/
postproc/
wannier/
screening/
hamiltonian/
??-*/
build/
dist/
10 changes: 6 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
types: [file, python]
Expand All @@ -11,19 +11,21 @@ repos:
- id: check-yaml

- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.961
rev: v1.10.0
hooks:
- id: mypy
files: src/koopmans/
args: [--ignore-missing-imports]
additional_dependencies:
- types-PyYAML

- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.6.0
rev: v2.0.4
hooks:
- id: autopep8
args: [--max-line-length=120, -i]
Expand Down
6 changes: 6 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
# Required
version: 2

# Specify the python version
build:
os: "ubuntu-22.04"
tools:
python: "3.8"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
Expand Down
23 changes: 12 additions & 11 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
authors:
- affiliation: École Polytechnique Fédérale de Lausanne
email: edward.linscott@epfl.ch
- affiliation: Paul Scherrer Institut
email: edward.linscott@psi.ch
family-names: Linscott
given-names: Edward
orcid: https://orcid.org/0000-0002-4967-9873
Expand All @@ -18,7 +18,7 @@ authors:
given-names: Nicola
orcid: https://orcid.org/0000-0002-9764-0199
cff-version: 1.2.0
license: GPL-3.0
license: GPL-2.0
message: If you use this software, please cite it using the metadata from this file.
preferred-citation:
authors:
Expand Down Expand Up @@ -55,19 +55,20 @@ preferred-citation:
given-names: Nicola
orcid: https://orcid.org/0000-0002-9764-0199
identifiers:
- description: DOI of the arXiv preprint
- description: DOI of the JCTC article
type: doi
value: 10.48550/arXiv.2302.07759
value: 10.1021/acs.jctc.3c00652
- description: The arXiv preprint
type: other
value: https://arxiv.org/abs/2302.07759
journal: arXiv
status: preprint
title: 'koopmans: an open-source package for accurately and efficiently predicting
spectral properties with Koopmans functionals'
value: https://pubs.acs.org/doi/full/10.1021/acs.jctc.3c00652
issue: 20
journal: Journal of Chemical Theory and Computation
title: 'koopmans: An Open-Source Package for Accurately and Efficiently Predicting
Spectral Properties with Koopmans Functionals'
type: article
volume: 19
year: 2023
repository-code: https://github.com/epfl-theos/koopmans/
title: koopmans
type: software
version: 1.0.0rc1
version: 1.1.0
Loading