Skip to content

Conversation

@pull
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
kavanase and others added 30 commits October 17, 2025 09:51
* linear_slice loosen type requirement

* use dynamic type for copy of volumerticData
* use `from typing import XXX` over `import typing`

* add types for io.common

* use asarray when it could already be array
* move cif parsing from __init__ of CifParser to from_str

* deprecate support of StringIO in __init__ of CifParser

* revert support of TextIOWrapper

* Revert "revert support of TextIOWrapper"

This reverts commit 1911a75.
Co-authored-by: Shyue Ping Ong <[email protected]>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.3](astral-sh/ruff-pre-commit@v0.13.3...v0.14.3)
- [github.com/MarcoGorelli/cython-lint: v0.17.0 → v0.18.1](MarcoGorelli/cython-lint@v0.17.0...v0.18.1)
- [github.com/RobertCraigie/pyright-python: v1.1.406 → v1.1.407](RobertCraigie/pyright-python@v1.1.406...v1.1.407)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…en.io.wannier90.Unk (#4535)

* fix mypy for wavecar class

* accept PathLike objects in Unk reader
)

* NUPDOWN should be float?

https://www.vasp.at/wiki/NUPDOWN

NUPDOWN = [positive real]
Default: NUPDOWN = not set

Description: Sets the difference between the number of electrons in the
up and down spin components.

Allows calculations for a specific spin multiplet, i.e. the difference
of the number of electrons in the up and down spin component will be
kept fixed to the specified value. There is a word of caution required:
If NUPDOWN is set in the INCAR file the initial moment for the charge
density should be the same. Otherwise convergence can slow down. When
starting from atomic charge densities (ICHARG=2), VASP will try to do
this automatically by setting MAGMOM to NUPDOWN/NIONS. The user can of
course overwrite this default by specifying a different MAGMOM (which
should still result in the correct total moment). If one initializes the
charge density from the one-electron wavefunctions, the initial moment
is always correct, because VASP "pushes" the required number of
electrons from the down to the up component. Initializing the charge
density from the CHGCAR file (ICHARG=1), however, the initial moment is
usually incorrect!

If no value is set (or NUPDOWN=-1) a full relaxation will be performed.
This is also the default.

* reuse incar_parameters.json in `proc_val` to determine INCAR tag type

* make proc_val more permissive: not run when type differs from recording
… with backslash, fix handling of `!` as comment marker (#4518)

* fix dict-index-missing-items

* remove unnecessary ignore tag

* rename similar_params to same

* enhance incar parsing of backslash/multi-line str, fix ! comment handling

test

enhance incar parsing of backslash and multi-line str, fix ! comment
handle

fix most issues: multi-line str still doesn't work

almost there, one statement in comment should not be parsed

guess it's fine to strip multi-line string

I guess ;! is not a valid use case, ; is meant to connect to statements

oops, looks like comment would be parsed

fix test

first working version
* remove pdm dev-dependency section in pyproject (likely not needed?)

fb6ba71

* clean up tool.coverage exclude section

remove self explanatory comment

* skip netcdf4 test in Linux CI >=1.6.5, clean up tests

xfail for netcdf4 in ubuntu CI

* test and build Python 3.14 wheels

fail back to 3.13 for lint as pyright is not installable

revert win to 3.11 for now (cannot recreate locally)

resolve to highest in Ubuntu

fix different err msg in 3.14

➜  temp uv run -p 3.13 test_index.py
Traceback (most recent call last):
  File "/Users/yang/developer/temp/test_index.py", line 1, in <module>
    print(["a"].index(1))
          ~~~~~~~~~~~^^^
ValueError: 1 is not in list

➜  temp uv run -p 3.14 test_index.py
Traceback (most recent call last):
  File "/Users/yang/developer/temp/test_index.py", line 1, in <module>
    print(["a"].index(1))
          ~~~~~~~~~~~^^^
ValueError: list.index(x): x not in list

skip netcdf4 in 3.13

skip more py 3.14 incompatible deps

matcalc seems installable on python 3.13 and 3.14

skip more packages that doesn't support 3.14 now

remove pin for pure python analysis-alloy

remove comment

drop openai pin

unblock h5py

unpin netcdf4

---------

Co-authored-by: Matt Horton <[email protected]>
* Removed extra copy of entry data from phase diagram serialization.

* Serialized qhull_entries as list of indices instead of list of entries.

* pre-commit auto-fixes

* Added phase diagram serialization backwards compatibilty.

* Removed accidental side effects of PhaseDiagram.from_dict().

---------

Co-authored-by: Felix Adams <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shyue Ping Ong <[email protected]>
Co-authored-by: Matt Horton <[email protected]>
)

* fix types for entry processing in phase diagram and compatibility

- Updated type hints in `PatchedPhaseDiagram` to use `Entry` instead of `PDEntry`.
- Introduced `TypeVarAnyEntry` for correct Entry subclass inference on Compatibility.process_entries return types

* add missing import

* update internal method signatures to match public API
)

* opt

* pre-commit auto-fixes

---------

Signed-off-by: Ahmad Lutfi <[email protected]>
Co-authored-by: lutfia95 <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* type hinting in io/ase

* type hinting in io/ase
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.3 → v0.14.7](astral-sh/ruff-pre-commit@v0.14.3...v0.14.7)
- [github.com/pre-commit/mirrors-mypy: v1.18.2 → v1.19.0](pre-commit/mirrors-mypy@v1.18.2...v1.19.0)
- [github.com/igorshubovych/markdownlint-cli: v0.45.0 → v0.46.0](igorshubovych/markdownlint-cli@v0.45.0...v0.46.0)
- [github.com/kynan/nbstripout: 0.8.1 → 0.8.2](kynan/nbstripout@0.8.1...0.8.2)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.