forked from materialsproject/pymatgen
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[pull] master from materialsproject:master #8
Open
pull
wants to merge
4,335
commits into
molmd:master
Choose a base branch
from
materialsproject:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pull Request Test Coverage Report for Build 1122097048
💛 - Coveralls |
92f89f0
to
c2f2d72
Compare
76dead0
to
ea3d300
Compare
3b5e5b2
to
1a78d68
Compare
2595681
to
d97e77d
Compare
1fcdea3
to
1fa96f8
Compare
af2ed4d
to
637ada0
Compare
3c23114
to
36e289c
Compare
…on` and siblings, minor type clean up for `core.Composition` (#4265) * add some types * more types * fix factor type * fix IUPAC writing * fix another factor type * fix factor * fix type * add test for composition error * add test for reduce formula
* use P1 symmop str * minor type improve * use NDArray over np.ndarray * patch a cif with no symmop info available * assert warning msg
* Composition support formula strings with curly brackets this PR extends the existing bracket normalization for square brackets to curly brackets important e.g. for bulk metallic glass compositions * link source paper for formulas in test doc str * link test from new lines * fix mypy error src/pymatgen/io/vasp/outputs.py:4724: error: Unsupported operand types for < ("int" and "None") [operator] src/pymatgen/io/vasp/outputs.py:4724: note: Right operand is of type "int | None" Found 1 error in 1 file (checked 295 source files)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.4](astral-sh/ruff-pre-commit@v0.9.2...v0.9.4) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](codespell-project/codespell@v2.3.0...v2.4.1) - [github.com/igorshubovych/markdownlint-cli: v0.43.0 → v0.44.0](igorshubovych/markdownlint-cli@v0.43.0...v0.44.0) - [github.com/RobertCraigie/pyright-python: v1.1.391 → v1.1.393](RobertCraigie/pyright-python@v1.1.391...v1.1.393) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* add types * use timeout in communicate * enable timeout test * reduce timeout * fix types * increase timeout to reveal the issue * fix test command * avoid passing default args * avoid single letter var also avoid shadowing outside * send SIGKILL after timeout * update timeout test * compress test file * err msg with more details
…4274) * move occ_tol to initialization parameters * add tests * fix: ruff formatting issues * pre-commit auto-fixes --------- Co-authored-by: Hui Zheng <v-huizhe@microsoft.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…gneticStructureEnumerator` (#4275) * minor type and comment cleanup * fix default kwargs dict * add unit test * skip if no enumlib * refactor to one liner
…le.electron_configuration` (#4278) * add types * make module level private variables all cap * clarify valence elec config * use symbol over sym as sym could be mistaken for symmetry? * Revert "use symbol over sym as sym could be mistaken for symmetry?" This reverts commit 66da01c. * remove unnecessary type ignore * enhance unit test and add scrambled POTCARs * use explicit None check instead of truthy * fix fake POTCAR position * rewrite electron config parser * avoid Ambiguous variable name l * less explicit tuple as i'm unable to cast type * replace K_sv with Ca_sv as it seems to interfer with LOBSTER test * drop unnecessary temp config recording * add occu_cutoff * add test for POT_PAW_PBE_64 * also change species full_electronic_structure property * implement tolerance
* Update `get_cbm_vbm` functions to use interpolation * Refactor `start`/`end` to `vbm`/`cbm` for consistency & clarity * Update tests * Update `test_outputs.py` * Consolidate functions and remove redundant code * pre-commit auto-fixes * Catch incomplete DOSs (e.g. CP2K non-SCF calc) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Shyue Ping Ong <shyuep@users.noreply.github.com>
* Update inequality in `get_linear_interpolated_value` * Add test for updated edge case behaviour * Rename `firs` to `fict_ionic_radii` for clarity and to avoid `codespell` errors in linting * Add `if not below_fermi or not above_fermi:` catch to `DOS.get_interpolated_gap()` (to be consistent with `Dos.get_interpolated_gap()`) * Return zero gap for case of VBM index = CBM index -1 (i.e. no gap found)
…gument (#4304) This was previously obscured by a hard-coded `num_orderings` class attribute.
Notifying @oashour @matthewkuner - let me know if alternative wording is preferred. Wanting to make sure these packages were linked out from docs to improve visibility/discoverability for others. Signed-off-by: Matthew Horton <mkhorton@users.noreply.github.com>
* deepcopy atoms.info/structure.properties during ase/pymatgen conversion this fixes bug where atoms/structure objects were themselves modified when converted * added tests to check spacegroup conversions * pre-commit auto-fixes * selective import for copy.deepcopy in keeping with style of ase.py * pre-commit auto-fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Andrew S. Rosen <asrosen93@gmail.com>
updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.9](astral-sh/ruff-pre-commit@v0.9.4...v0.9.9) - [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.15.0](pre-commit/mirrors-mypy@v1.14.1...v1.15.0) - [github.com/RobertCraigie/pyright-python: v1.1.393 → v1.1.396](RobertCraigie/pyright-python@v1.1.393...v1.1.396) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* default to json * clarify docstring * minor test tweak
* pass kwargs to IStructure.to * fix codespell complain
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.16.5 to 1.18.3. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.18.3/CHANGELOG.md) - [Commits](sparklemotion/nokogiri@v1.16.5...v1.18.3) --- updated-dependencies: - dependency-name: nokogiri dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )