Skip to content

Commit a3acfec

Browse files
authored
Merge pull request #174 from materialsproject/docs
Tidy docs and update changelog
2 parents 3f41528 + 5a5fa24 commit a3acfec

17 files changed

+329
-251
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
ref: ${{ github.event.workflow_run.head_branch }}
8181

8282
- name: Write release info
83-
run: awk 'BEGIN {p = 0} {a = 0 }; /^v\d*.\d*.\d*./ { p += 1; a = 1}; p + a == 1 { print } ' docs/about/changelog.md | sed -e '1,1d' | sed -e '/./,$!d' -e :a -e '/^\n*$/{$d;N;ba' -e '}' > release_info.txt
83+
run: awk 'BEGIN {p = 0} {a = 0 }; /^v\d*.\d*.\d*./ { p += 1; a = 1}; p + a == 1 { print } ' CHANGELOG.md | sed -e '1,1d' | sed -e '/./,$!d' -e :a -e '/^\n*$/{$d;N;ba' -e '}' > release_info.txt
8484

8585
- name: Release
8686
uses: actions/create-release@v1

ADMIN.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Releasing a new atomate2 version
2+
3+
Version releases on Pypi and GitHub are handled automatically through GitHub
4+
actions. The steps to push a new release are:
5+
1. Update `CHANGELOG.md` with a new version and release notes.
6+
2. Create a tagged Git commit with the above changes: `git tag v0.0.1`
7+
3. Push the commit and tags to GitHub using: `git push origin --tags`

CHANGELOG.md

Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
Change log
2+
==========
3+
4+
v0.0.8
5+
------
6+
7+
New features:
8+
9+
- VASP Phonopy workflow ([@JaGeo](https://github.com/JaGeo), [#137](https://github.com/materialsproject/atomate2/pull/137))
10+
- Molecular dynamics VASP job ([@mjwen](https://github.com/mjwen), [#134](https://github.com/materialsproject/atomate2/pull/134))
11+
12+
Enhancements:
13+
14+
- Update IO classes to use pymatgen base classes ([@rkingsbury](https://github.com/rkingsbury), [#141](https://github.com/materialsproject/atomate2/pull/141))
15+
- Read and write VASP structures with higher precision ([@JaGeo](https://github.com/JaGeo), [#167](https://github.com/materialsproject/atomate2/pull/167))
16+
17+
Bug fixes:
18+
19+
- Fix code examples in docs ([@JaGeo](https://github.com/JaGeo), [#169](https://github.com/materialsproject/atomate2/pull/169))
20+
- Fix f-orbital DOS properties ([@arosen93](https://github.com/arosen93), [#138](https://github.com/materialsproject/atomate2/pull/138))
21+
- Fix `mock_run_vasp` testing to accept args ([@mjwen](https://github.com/mjwen), [#151](https://github.com/materialsproject/atomate2/pull/151))
22+
- Regenerate calc_types enum ([@mjwen](https://github.com/mjwen), [#153](https://github.com/materialsproject/atomate2/pull/153))
23+
24+
v0.0.7
25+
------
26+
27+
New features:
28+
29+
- Include band-related features (e.g. band center, bandwidth, skewness, kurtosis) in
30+
VASP schema ([@arosen93](https://github.com/arosen93), [#92](https://github.com/materialsproject/atomate2/pull/92))
31+
- Add `use_auto_ispin` and `update_user_potcar_functional` powerups
32+
33+
Enhancements:
34+
35+
- Add `is_hubbard` and `hubbards` to VASP task doc.
36+
- Migrate build system to pyproject.toml.
37+
- Migrate docs to jupyter-book.
38+
- Docs improvements ([@janosh](https://github.com/janosh), [@mjwen](https://github.com/mjwen))
39+
40+
Bug fixes:
41+
42+
- Fix HSE tags.
43+
- Fix running bader.
44+
- Make potcar_spec argument usable ([@jmmshn](https://github.com/jmmshn), [#83](https://github.com/materialsproject/atomate2/pull/83))
45+
- Replace monty which with shutil which ([@arosen93](https://github.com/arosen93), [#92](https://github.com/materialsproject/atomate2/pull/92))
46+
- Fix `calculate_deformation_potentials()` ([@janosh](https://github.com/janosh), [#94](https://github.com/materialsproject/atomate2/pull/94))
47+
- Fix gzipping of files with numerical suffixes ([@jmmshn](https://github.com/jmmshn), [#116](https://github.com/materialsproject/atomate2/pull/116))
48+
49+
v0.0.6
50+
------
51+
52+
New features:
53+
54+
- cclib task document supporting virtually all popular molecular DFT codes out-of-the-box
55+
([@arosen93](https://github.com/arosen93), [#64](https://github.com/materialsproject/atomate2/pull/64))
56+
57+
Enhancements:
58+
59+
- Add mag_density to VASP output doc ([@arosen93](https://github.com/arosen93), [#65](https://github.com/materialsproject/atomate2/pull/66))
60+
- Double relax maker now supports two different Makers ([@arosen93](https://github.com/arosen93), [#32](https://github.com/materialsproject/atomate2/pull/32))
61+
62+
Bug fixes:
63+
64+
- Store band structure efermi in CalculationOutput ([@arosen93](https://github.com/arosen93), [#66](https://github.com/materialsproject/atomate2/pull/66))
65+
- Support for VASP6 and latest pymatgen ([@arosen93](https://github.com/arosen93), [#75](https://github.com/materialsproject/atomate2/pull/75))
66+
- Fixed atomate2 version string.
67+
- Disabled orbital projections in the electron-phonon workflow.
68+
69+
v0.0.5
70+
------
71+
72+
This version removed Python 3.7 support following numpy and pymatgen.
73+
74+
New features:
75+
76+
- Base schema for molecule task documents ([@arosen93](https://github.com/arosen93), [#54](https://github.com/materialsproject/atomate2/pull/54))
77+
78+
Bug fixes:
79+
80+
- Fix VASP relaxation using custodian "FULL_OPT" ([@arosen93](https://github.com/arosen93), [#42](https://github.com/materialsproject/atomate2/pull/42))
81+
- Fix supercell generation and input sets in electron-phonon workflow.
82+
- Fix `HSEBSSetGenerator` INCAR settings.
83+
- Fix issue with magnetism in SOC structures.
84+
- Fix bug with Fermi level and IBRION=1
85+
- Better handling of URI generation.
86+
- Tweak k-spacing formula to stop large band gaps giving negative values
87+
88+
v0.0.4
89+
------
90+
91+
Lots of improvements and bug fixes this release.
92+
93+
New features:
94+
95+
- AMSET workflow.
96+
- Electron phonon band gap renormalisation workflow.
97+
- Specific uniform and line mode band structure makers.
98+
- Optics maker.
99+
- Transmuter maker.
100+
101+
Enhancements:
102+
103+
- Support for automatic handling of ISPIN.
104+
- Add MP base sets ([@arosen93](https://github.com/arosen93), [#27](https://github.com/materialsproject/atomate2/pull/27))
105+
- Docs updates ([@arosen93](https://github.com/arosen93), [#13](https://github.com/materialsproject/atomate2/pull/13) [#17](https://github.com/materialsproject/atomate2/pull/17))
106+
- Options to strip band structure and DOS projects to reduce object sizes.
107+
- Input sets now use generators to avoid serialization issues.
108+
- Use smart efermi finding to remove errors with tetrahedron integration in VASP 6.
109+
- Powerups can now work on `Maker` objects directly.
110+
111+
Bug fixes:
112+
113+
- Use PBEsol by default.
114+
- Increase number of significant figures when writing POSCAR files.
115+
- Remove unused INCAR settings ([@arosen93](https://github.com/arosen93))
116+
- Add missing LASPH flags on vdW functionals ([@arosen93](https://github.com/arosen93), [#31](https://github.com/materialsproject/atomate2/pull/31))
117+
- Use `NSW=0` in static calculations ([@arosen93](https://github.com/arosen93), [#10](https://github.com/materialsproject/atomate2/pull/10))
118+
- `LREAL = False` in static jobs by default ([@arosen93](https://github.com/arosen93), [#23](https://github.com/materialsproject/atomate2/pull/23))
119+
- Add missing functionals in output schema ([@arosen93](https://github.com/arosen93), [#12](https://github.com/materialsproject/atomate2/pull/12))
120+
- Many output schema fixes.
121+
- Better support for FireWorks.
122+
- Support writing additional files in VASP jobs.
123+
124+
v0.0.3
125+
------
126+
127+
Many updates to use the latest jobflow store features.
128+
129+
v0.0.2
130+
------
131+
132+
Automated releases.
133+
134+
v0.0.1
135+
------
136+
137+
Initial release.

CODE_OF_CONDUCT.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Contributor Code of Conduct
2+
3+
As contributors and maintainers of this project, and in the interest of
4+
fostering an open and welcoming community, we pledge to respect all people who
5+
contribute through reporting issues, posting feature requests, updating
6+
documentation, submitting pull requests or patches, and other activities.
7+
8+
We are committed to making participation in this project a harassment-free
9+
experience for everyone, regardless of level of experience, gender, gender
10+
identity and expression, sexual orientation, disability, personal appearance,
11+
body size, race, ethnicity, age, religion, or nationality.
12+
13+
Examples of unacceptable behavior by participants include:
14+
15+
* The use of sexualized language or imagery
16+
* Personal attacks
17+
* Trolling or insulting/derogatory comments
18+
* Public or private harassment
19+
* Publishing other's private information, such as physical or electronic
20+
addresses, without explicit permission
21+
* Other unethical or unprofessional conduct
22+
23+
Project maintainers have the right and responsibility to remove, edit, or
24+
reject comments, commits, code, wiki edits, issues, and other contributions
25+
that are not aligned to this Code of Conduct, or to ban temporarily or
26+
permanently any contributor for other behaviors that they deem inappropriate,
27+
threatening, offensive, or harmful.
28+
29+
By adopting this Code of Conduct, project maintainers commit themselves to
30+
fairly and consistently applying these principles to every aspect of managing
31+
this project. Project maintainers who do not follow or enforce the Code of
32+
Conduct may be permanently removed from the project team.
33+
34+
This Code of Conduct applies both within project spaces and in public spaces
35+
when an individual is representing the project or its community.
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
38+
reported by contacting a project maintainer at [INSERT EMAIL ADDRESS]. All
39+
complaints will be reviewed and investigated and will result in a response that
40+
is deemed necessary and appropriate to the circumstances. Maintainers are
41+
obligated to maintain confidentiality with regard to the reporter of an
42+
incident.
43+
44+
45+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
46+
version 1.3.0, available at https://www.contributor-covenant.org/version/1/3/0/code-of-conduct.html
47+
48+
[homepage]: https://www.contributor-covenant.org

CONTRIBUTING.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Contributing to atomate2
2+
3+
We love your input! We want to make contributing to as easy and
4+
transparent as possible, whether it's:
5+
6+
- Reporting a bug
7+
- Discussing the current state of the code
8+
- Submitting a fix
9+
- Proposing or implementing new features
10+
- Becoming a maintainer
11+
12+
## Reporting bugs, getting help, and discussion
13+
14+
atomate2 is still in development, so at the moment we
15+
do not have a dedicated help forum. For the time being, please
16+
submit questions and bugs to the
17+
[GitHub issues page](https://github.com/materialsproject/atomate2/issues).
18+
19+
If you are making a bug report, incorporate as many elements of the
20+
following as possible to ensure a timely response and avoid the
21+
need for followups:
22+
23+
- A quick summary and/or background.
24+
- Steps to reproduce - be specific! **Provide sample code.**
25+
- What you expected would happen, compared to what actually happens.
26+
- The full stack trace of any errors you encounter.
27+
- Notes (possibly including why you think this might be happening,
28+
or steps you tried that didn't work).
29+
30+
We love thorough bug reports as this means the development team can
31+
make quick and meaningful fixes. When we confirm your bug report,
32+
we'll move it to the GitHub issues where its progress can be
33+
further tracked.
34+
35+
## Contributing code modifications or additions through Github
36+
37+
We use github to host code, to track issues and feature requests,
38+
as well as accept pull requests. We maintain a list of all
39+
contributors [here](https://materialsproject.github.io/atomate2/contributors.html).
40+
41+
Pull requests are the best way to propose changes to the codebase.
42+
Follow the [Github flow](https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow)
43+
for more information on this procedure.
44+
45+
The basic procedure for making a PR is:
46+
47+
- Fork the repo and create your branch from master.
48+
- Commit your improvements to your branch and push to your Github fork (repo).
49+
- When you're finished, go to your fork and make a Pull Request. It will
50+
automatically update if you need to make further changes.
51+
52+
## How to Make a Great Pull Request
53+
54+
We have a few tips for writing good PRs that are accepted into the main repo:
55+
56+
- Use the Numpy Code style for all of your code. Find an example [here](hhttps://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_numpy.html#example-numpy).
57+
- Your code should have (4) spaces instead of tabs.
58+
- If needed, update the documentation.
59+
- **Write tests** for new features! Good tests are 100%, absolutely necessary
60+
for good code. We use the python `pytest` framework -- see some of the
61+
other tests in this repo for examples, or review the [Hitchhiker's guide
62+
to python](https://docs.python-guide.org/writing/tests) for some good
63+
resources on writing good tests.
64+
- Understand your contributions will fall under the same license as this repo.
65+
66+
When you submit your PR, our CI service will automatically run your tests.
67+
We welcome good discussion on the best ways to write your code, and the comments
68+
on your PR are an excellent area for discussion.

docs/_config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ sphinx:
9090
- "https://materialsproject.github.io/jobflow"
9191
- null
9292
monty:
93-
- "https://guide.materialsvirtuallab.org/monty"
93+
- "https://materialsvirtuallab.github.io/monty"
9494
- null
9595
language: en
9696
html_extra_path:
@@ -103,6 +103,7 @@ sphinx:
103103
templates_path:
104104
- "_templates"
105105
- components
106+
suppress_warnings: etoc.toctree
106107

107108
# pygments_style: github
108109

@@ -130,13 +131,13 @@ sphinx:
130131
# control pydantic model docs
131132
autodoc_pydantic_model_show_json: false
132133
autodoc_pydantic_model_show_field_summary: false
133-
autodoc_pydantic_model_show_config: false
134+
autodoc_pydantic_model_show_config_member: false
134135
autodoc_pydantic_model_show_config_summary: false
135136
autodoc_pydantic_model_show_validator_members: false
136137
autodoc_pydantic_model_member_order: bysource
137138
autodoc_pydantic_settings_show_json: false
138139
autodoc_pydantic_settings_show_field_summary: false
139-
autodoc_pydantic_settings_show_config: false
140+
autodoc_pydantic_settings_show_config_member: false
140141
autodoc_pydantic_settings_show_config_summary: false
141142
autodoc_pydantic_settings_show_validator_members: false
142143
autodoc_pydantic_settings_member_order: bysource
@@ -150,5 +151,5 @@ sphinx:
150151
- sphinx.ext.intersphinx
151152
- sphinx.ext.viewcode
152153
- sphinx.ext.autosummary
153-
- sphinx_panels
154+
- sphinx_design
154155
- sphinxcontrib.autodoc_pydantic

docs/_templates/sbt-sidebar-footer.html

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/_templates/sbt-sidebar-nav.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/_templates/sidebar-logo.html

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/_templates/toc-button.html

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)