Skip to content

Commit

Permalink
Merge pull request #3 from nscolonna/add_Koopmans
Browse files Browse the repository at this point in the history
Add Koopmans to the registry
  • Loading branch information
giovannipizzi authored Feb 15, 2024
2 parents 6797d91 + db6c060 commit fdccb4d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ Codes are added to the registry by adding an entry to the `codes.yaml` file with
```
The checks will then run when you commit files - they will check and automatically fix any simple syntax error (such as traling whitespaces) and you will be prompted to commit again once the files are fixed. If you want to check all files before committing, you can run `pre-commit run --all-files`.

**Note**: To generate and visualize the website, simply execute the following command:
```console
$ python src/build.py
```
and then open the "src/build/html/index.html" file with a browser.

3. Your code will show up in the [Wannier-Functions Software Ecosystem Registry](https://wannier-developers.github.io/wannier-ecosystem-registry) once your pull request is approved and merged.

Expand All @@ -68,7 +73,7 @@ my-code:
- ab-initio_engines
```

*Feel free to propose a new codes category to be added to [`category.yaml`](https://github.com/wannier-developers/wannier-ecosystem-registry/blob/main/categories.yaml)) before adding your code.*
*Feel free to propose a new codes category to be added to [`category.yaml`](https://github.com/wannier-developers/wannier-ecosystem-registry/blob/main/categories.yaml) before adding your code.*


### Valid keys for code entries in `codes.yaml`
Expand Down Expand Up @@ -107,11 +112,7 @@ $ PYTHONPATH=src pytest
Executed tests include unit, integration, and validation tests.
The validation tests check the validity of all schema files, the data files e.g. `codes.yaml` and `categories.yaml`, and if present the configuration file (`config.yaml`).

To generate the website, simply execute the following script:

```console
$ python src/build.py
```

The continuous-integration workflow is implemented with GitHub Actions, which runs the pre-commit hooks, unit, integration, and validation tests.
In addition, all commits on the `main` branch are automatically deployed to GitHub pages.
13 changes: 13 additions & 0 deletions codes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -427,3 +427,16 @@ octopus:
documentation_url: https://octopus-code.org/documentation/13/manual/
sourcecode_url: https://octopus-code.org/documentation/13/manual/install/
logo: https://octopus-code.org/documentation//13/images/180px-Octopus_logo.png

koopmans:
categories:
- wannier_engines
- ab-initio_engines
metadata:
description: |
Koopmans is a python package for performing and automating Koopmans spectral functional calculations with Quantum ESPRESSO and Wannier90, developed by researchers in the THEOS research group at EPFL
title: Koopmans
homepage_url: https://koopmans-functionals.org/en/latest/index.html
documentation_url: https://koopmans-functionals.org/en/latest/index.html
sourcecode_url: https://github.com/epfl-theos/koopmans
logo: https://koopmans-functionals.org/en/latest/_images/koopmans_grey_on_transparent.png

0 comments on commit fdccb4d

Please sign in to comment.