Skip to content
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
wants to merge 4,355 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 12, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Aug 12, 2021
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1122097048

  • 17 of 17 (100.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.002%) to 83.133%

Files with Coverage Reduction New Missed Lines %
pymatgen/analysis/elasticity/tests/test_strain.py 1 97.73%
Totals Coverage Status
Change from base Build 1113762423: 0.002%
Covered Lines: 80616
Relevant Lines: 96972

💛 - Coveralls

@janosh janosh force-pushed the master branch 2 times, most recently from 92f89f0 to c2f2d72 Compare May 8, 2023 17:13
@janosh janosh force-pushed the master branch 2 times, most recently from 76dead0 to ea3d300 Compare May 18, 2023 15:39
@janosh janosh force-pushed the master branch 2 times, most recently from 3b5e5b2 to 1a78d68 Compare June 13, 2023 14:43
@janosh janosh force-pushed the master branch 2 times, most recently from 2595681 to d97e77d Compare July 25, 2023 21:00
@janosh janosh force-pushed the master branch 4 times, most recently from 1fcdea3 to 1fa96f8 Compare August 7, 2023 18:15
@janosh janosh force-pushed the master branch 4 times, most recently from af2ed4d to 637ada0 Compare November 15, 2023 04:12
@janosh janosh force-pushed the master branch 3 times, most recently from 3c23114 to 36e289c Compare December 19, 2023 02:10
shyuep and others added 30 commits February 21, 2025 08:02
* 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 <[email protected]>
* 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 <[email protected]>
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fea: add method to get the pearson symbol

* test: test the pearson symbols

* clean: clean and comment sga tests

* fix: LiPo4 actually FePO4

* fix linting and supress warning.

---------

Signed-off-by: Matthew Horton <[email protected]>
Co-authored-by: Matthew Horton <[email protected]>
Co-authored-by: Shyue Ping Ong <[email protected]>
* First pass add functional Vaspout parser

* Add POTCAR spec attrs to standardize spec, add from_spec method to Potcar class, standardize potcar checking

* pre-commit auto-fixes

* fix failing lobster tests

* pre-commit auto-fixes

* pre-commit auto-fixes

* Add Vaspout tests, fix  method

* pre-commit and fix test names

* fix remaining linting and mypy errors

* pre-commit auto-fixes

* Fix python 3.9 support, add charge and magnetization site_properties in Vaspout.ionic_steps

* pre-commit auto-fixes

* Fix projected DOS parsing

* linting / typing

* remove dunder methods from potcar spec

* linting

* increase support for auto k point generation

* linting

* precommit

* add h5py to ci extra install for testing

* make vaspout tests optional

* explicit reason pass to pytest skipif

* remove os system call

* precommit

* tweak dos parsing

* precommit

---------

Signed-off-by: Aaron Kaplan <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* remove some legacy only tests

* replace general Exception catch

* query seems also legacy only

* get_data is also legacy only

* NEED CONFIRM: remove failing parts from test_get_entries

* get_stability is also legacy only
* Update type-hinting for `pymatgen.io.qchem.outputs`

Signed-off-by: Andrew S. Rosen <[email protected]>

* pre-commit auto-fixes

---------

Signed-off-by: Andrew S. Rosen <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* ruff autofix TC006: runtime cast value

* autofix PLC1802: len(var) used as condition without comparison

* ignore SIM905 for now

* fix LOG015: log directly on root logger

* NEED CONFIRM: avoid configuring the root logger

* fix RUF040 Non-string literal used as assert message, likely many tests are not working correctly

* remove todo tag in favor of a separate PR
* rearrange dunder methods to the top

* add tests

* add more tests

* fix tests for 0D array
…` returns the corresponding type (#4321)

* separate from_ase_atoms from abstraction class

* fix typo

* NEED CAREFUL CHECK: remove from_ase_atoms from ABC

* fix return types

* WIP: add extra tests for to_from ase atoms

* use typevar to mark return type for ase adaptor

* revert to original behaviour (only Molecule/Structure)

* NEED DISCUSSION: also revert test to previous behaviour

* add test for kwarg passing

* tiny collection tweak

* more complete type for cls

* refactor to return correct type

* fall back to get_structure for molecule.from_ase_atoms

* fall back to get_structure and put from_ase_atoms back to SiteCollection

* Update compatibility doc

* remove manual line wrap

* add version to previous breaking change

* replace os.remove for check file existence

* remove unused ase

* fix typo in docstring

* update compatibility details

* put previous breaking change into version section

* test exception

* Linux shell could not be bash

---------

Co-authored-by: Shyue Ping Ong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.