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,218 commits into
base: master
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4218 commits
Select commit Hold shift + click to select a range
2790a12
Add expandvars and expanduser to settings. Fixes #3891.
shyuep Jun 27, 2024
e513aef
Fix doc of tasks.py.
shyuep Jun 27, 2024
ea8c3c5
New ruff fixes.
shyuep Jun 27, 2024
3a473ec
Fix ruff version and check.
shyuep Jun 27, 2024
a745041
Revert "New ruff fixes."
shyuep Jun 27, 2024
565a8b4
Redo ruff fixes.
shyuep Jun 27, 2024
a2a86b2
Fix bad use of enumerate(start).
shyuep Jun 27, 2024
94a7e6d
Fix kpath code regression.
shyuep Jun 27, 2024
877dd24
Fix xtb regression.
shyuep Jun 27, 2024
d27d5fb
Fix regression on molgraph.
shyuep Jun 27, 2024
c6def7a
Fix show_plot due to bad return of ax.
shyuep Jun 28, 2024
d77f776
Fix really bad refactoring of return of axes.
shyuep Jun 28, 2024
1bddad2
prettify periodic_table.json for readability (#3901)
rkingsbury Jul 2, 2024
0f22690
add optional gruneisen parameter colorbar plot (#3908)
naik-aakash Jul 3, 2024
4a2c3df
Adding MD input set to FHI-aims (#3896)
ansobolev Jul 3, 2024
91e609c
comment (#3910)
jmmshn Jul 8, 2024
35b1f44
pre-commit autoupdate (#3903)
pre-commit-ci[bot] Jul 8, 2024
c2c5ea6
SpaceGroup changes (#3859)
kaueltzen Jul 14, 2024
64fef0f
Ruff fix.
shyuep Jul 14, 2024
ae839ee
Bump certifi from 2024.6.2 to 2024.7.4 (#3912)
dependabot[bot] Jul 15, 2024
672778b
Format aflow_prototypes.json and exclude it from codespell check in p…
DanielYang59 Jul 15, 2024
d0ed5d7
Use newer pytjon for linting.
shyuep Jul 15, 2024
a1e774b
Use 3.x designation in python version to test latest version on ubuntu
shyuep Jul 15, 2024
f3cd079
Use >3,9
shyuep Jul 15, 2024
e9e6e34
Set mac test to 3.10.
shyuep Jul 15, 2024
106e8f5
Fix analyzer tests.
shyuep Jul 15, 2024
58e8a35
Migrate `spglib` to new `SpglibDataset` format with version 2.5.0 (#3…
DanielYang59 Jul 16, 2024
454aa5e
Add electronic structure methods for Species (#3902)
rkingsbury Jul 16, 2024
0234182
Improve Keep Redundant Spaces algorithm for PatchedPhaseDiagram (#3900)
CompRhys Jul 17, 2024
380d2f2
[Hot Fix] Fix `setuptools` for pymatgen packaging (#3934)
DanielYang59 Jul 18, 2024
27d90b7
Update docs
shyuep Jul 18, 2024
09cf748
Element/Species: order full_electron_structure by energy (#3944)
rkingsbury Jul 23, 2024
8e39294
Extend CubicSupercell transformation to also be able to look for orth…
JaGeo Jul 23, 2024
44b8c6e
Replace expired BoltzTraP link (#3929)
DanielYang59 Jul 24, 2024
5d925fe
Correct method `get_projection_on_elements` docstring under `Procar` …
DanielYang59 Jul 24, 2024
1bdca30
Allow custom `.pmgrc.yaml` location via new `PMG_CONFIG_FILE` env var…
janosh Jul 24, 2024
6d2e77e
Fix MPRester tests and access phonon properties from the new API with…
AntObi Jul 26, 2024
d464ad4
Fix chemical system method for different oxidation states (#3915)
danielzuegner Jul 26, 2024
98c5788
Adding Abinit magmoms from netCDF files to Structure.site_properties …
gbrunin Jul 26, 2024
5256fce
Fix coordination number bug (#3954)
jmmshn Jul 26, 2024
720fdf8
Add multiwfn QTAIM parsing capabilities (#3926)
espottesmith Jul 30, 2024
660ba7a
Fix Ion formula parsing bug; add more special formulas (#3942)
rkingsbury Jul 31, 2024
633e7bd
switch to attr access interface for transformation matrix (#3964)
tsmathis Aug 1, 2024
b955eec
Fix import sorting (#3968)
janosh Aug 2, 2024
b35b99e
Update issue-metrics.yml (#3962)
ab5424 Aug 2, 2024
940eb60
Fix Incar `check_params` for `Union` type (#3958)
DanielYang59 Aug 2, 2024
976942c
Parallel Joblib Process Entries (#3933)
CompRhys Aug 2, 2024
380a81b
Dedup `numpy`dependency in `pyproject` (#3970)
janosh Aug 3, 2024
0ebaa64
Improve types for `electronic_structure.{bandstructure/cohp}` (#3873)
DanielYang59 Aug 3, 2024
2a35841
standardize doc strings
janosh Aug 3, 2024
c185bd4
Improve types for `electronic_structure.{core/dos}` (#3880)
DanielYang59 Aug 3, 2024
41e6d99
refactor dict.update() to use |= operator
janosh Aug 3, 2024
0f8b8fd
fix ruff DTZ003 (closes #3791)
janosh Aug 4, 2024
caddde5
pin matplotlib<3.9.1 as temp fix for windows CI
janosh Aug 4, 2024
e06afe9
fix double spaces in doc strings
janosh Aug 4, 2024
4a1522c
fix missing types in doc string args
janosh Aug 4, 2024
511c90f
fix StandardTransmuter.append_transformation promising list[bool] but…
janosh Aug 4, 2024
00a24e5
del accidental left-over debug code
janosh Aug 4, 2024
4ffec03
test_graph: add filename only to pdf list (#3972)
drew-parsons Aug 5, 2024
99f62d2
Bugfix: `io.pwscf.PWInput.from_str()` (#3931)
jsukpark Aug 6, 2024
7a01f3c
Install some optional dependencies in CI (#3786)
DanielYang59 Aug 6, 2024
252efa7
Fix d2k function (#3932)
tpurcell90 Aug 6, 2024
fce45f6
Add OPTIMADE adapter (#3876)
ml-evs Aug 7, 2024
81b802e
Split VASP input sets into submodules (#3865)
janosh Aug 7, 2024
c20cd62
rm src/pymatgen/io/vasp/sets.py
janosh Aug 7, 2024
fa8d596
Enable Ruff rule family "N" and "S" (#3892)
DanielYang59 Aug 7, 2024
a485c55
Check Inputs to Trajectory. (#3978)
CompRhys Aug 8, 2024
ce360f4
build against NPY2 (#3894)
njzjz Aug 8, 2024
61b02a5
change Trajectory._check_site_props: Assertion->ValueError
janosh Aug 8, 2024
a3b0ddb
Assign frame properties to molecule/structure when indexing trajector…
CompRhys Aug 8, 2024
0e90789
fix print in assert msg returning None, so empty msg
janosh Aug 8, 2024
dbc68be
Fix `mypy` errors on master branch (#3977)
DanielYang59 Aug 9, 2024
45b9fac
v2024.8.8
janosh Aug 9, 2024
123abac
make step_size for CubicSupercellTransformation.apply_transformation …
QuantumChemist Aug 9, 2024
b01f282
Revert "make step_size for CubicSupercellTransformation.apply_transfo…
JaGeo Aug 9, 2024
25f0a9c
Fix mypy errors for `io.cp2k` (#3984)
DanielYang59 Aug 9, 2024
eb392d3
Bump rexml from 3.2.8 to 3.3.3 in /docs (#3965)
dependabot[bot] Aug 9, 2024
289d281
Updating Ternary and Quaternary Plots (#3948)
JoshuaNgXY Aug 9, 2024
2adfe8f
Skip openff tests if openbabel is not present.
shyuep Aug 9, 2024
a277a54
Fix timeout error checking.
shyuep Aug 9, 2024
9703a1c
Bypass COD for Structure.from_id when COD is down.
shyuep Aug 9, 2024
aab9092
Add fdint install.
shyuep Aug 9, 2024
6db6111
Revert "Add fdint install."
shyuep Aug 9, 2024
f1eb364
Revert "Split VASP input sets into submodules (#3865)" (#3989)
shyuep Aug 9, 2024
636165b
Add back missing sets.py file.
shyuep Aug 9, 2024
d3526bc
Update changelog.
shyuep Aug 9, 2024
1ac6c68
Update docs
shyuep Aug 9, 2024
1bfd330
Update tasks.py formatting of desc.
shyuep Aug 9, 2024
b28c937
Ion: fix CO2- and I3- parsing errors; enhance tests (#3991)
rkingsbury Aug 11, 2024
cadcae4
Docstring tweaks for `io.vasp.inputs` and format tweaks for some othe…
DanielYang59 Aug 14, 2024
b7b7389
Formatting customization for `PWInput` (#4001)
jsukpark Aug 15, 2024
1a4c538
VaspInputSet.write_input: Improve error message (#3999)
yantar92 Aug 15, 2024
74befc8
Ruff fixes.
shyuep Aug 15, 2024
532281f
DOS Fingerprints enhancements (#3946)
naik-aakash Aug 16, 2024
545c20d
Fix failing ruff `PT001` on master (#4003)
DanielYang59 Aug 16, 2024
d9f5705
ruff fix RUF031: Avoid parentheses for tuples in subscripts.
janosh Aug 16, 2024
6427b55
ruff fix FURB142: set.add() in a for loop and a few ruff DOC502
janosh Aug 16, 2024
d618021
Support PBE_64 in user potcar functional.
shyuep Aug 19, 2024
7afb6c5
Merge branch 'master' of github.com:materialsproject/pymatgen
shyuep Aug 19, 2024
3fee7d5
Add test for OBE64
shyuep Aug 20, 2024
64d5890
Set kpoints in from_str method as integer in auto Gamma and Monkhorst…
DanielYang59 Aug 20, 2024
b684865
Drop Python 3.9 support (#4009)
DanielYang59 Aug 21, 2024
ea58ff8
Add HSE-specific vdW parameters for dftd3 and dftd3-bj to MPHSERelaxS…
hongyi-zhao Aug 21, 2024
6ca78b3
Use `strict=True` with `zip` to ensure length equality (#4011)
DanielYang59 Aug 22, 2024
016f9de
Fix ruff PD901 and prefer `sum` over `len`+`if` (#4012)
janosh Aug 22, 2024
76706f9
Bump rexml from 3.3.3 to 3.3.6 in /docs (#4013)
dependabot[bot] Aug 23, 2024
6f280a9
Add VASP setting for the dftd4 vdW functional and extend PBE_64 suppo…
hongyi-zhao Aug 24, 2024
41e4c69
Explicitly use `int64` in Numpy/cython code to avoid OS inconsistency…
DanielYang59 Aug 24, 2024
46d843c
Fix fixable `ruff` rules (#4015)
DanielYang59 Aug 28, 2024
df25dfa
Remove the skip mark for test_delta_func (#4014)
njzjz Aug 29, 2024
1f954af
Improve type annotations for `io.lobster.{lobsterenv/outputs}` (#3887)
DanielYang59 Aug 30, 2024
934013b
Replace HTTP URLs with HTTPS, avoid `from pytest import raises/mark` …
DanielYang59 Aug 30, 2024
0175ad2
Add SOC & multiple `PROCAR` parsing functionalities (#3890)
kavanase Aug 30, 2024
c5296b3
Update `FermiDos.get_doping()` to be more robust (#3879)
kavanase Aug 31, 2024
c06abf1
Fix `S101`, replace all `assert` in code base (except for tests) (#4017)
DanielYang59 Aug 31, 2024
40fce4f
Recover commented out code in tests and mark with `pytest.mark.skip` …
DanielYang59 Sep 2, 2024
edcd465
Fix missing `/src` in doc links to source code (#4032)
DanielYang59 Sep 3, 2024
ed52258
Add unit test for `io.vasp.help` (#4020)
DanielYang59 Sep 4, 2024
1404220
Fix `LNONCOLLINEAR` match in `Outcar` parser (#4034)
DanielYang59 Sep 4, 2024
5e208f4
Install optional boltztrap, vampire and openbabel in CI (#3985)
DanielYang59 Sep 6, 2024
2cbffd9
fix typo in docstring (#4039)
DanielYang59 Sep 6, 2024
54cdebc
Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows …
dependabot[bot] Sep 6, 2024
51ea7de
add LRU cache to structure matcher (#4036)
kbuma Sep 6, 2024
15dc137
breaking: pascal case PMG_VASP_PSP_DIR_Error (#4048)
janosh Sep 6, 2024
8657780
Fix in-place `VaspInput.incar` updates having no effect if `incar` is…
janosh Sep 7, 2024
05c2e99
Add modification to aims input to match atomate2 magnetic order scrip…
tpurcell90 Sep 7, 2024
149e115
fix typos in AimsSpeciesFile and AimsOutCalcChunk
janosh Sep 7, 2024
326beb9
Make AimsSpeciesFile a dataclass (#4054)
tpurcell90 Sep 8, 2024
13182c5
Avoid importing namespace package `pymatgen` directly (#4053)
DanielYang59 Sep 8, 2024
f6b4073
Fix `ruff` PLC0206 and PLR6104 (#4035)
janosh Sep 8, 2024
dc6a292
Fix typo in `Cp2kOutput.parse_hirshfeld` `add_site_property("hirshf[i…
janosh Sep 8, 2024
ed4de1d
Fix `apply_operation(fractional=True)` (#4057)
kavanase Sep 9, 2024
6012a68
v2024.9.10
janosh Sep 10, 2024
c469dd8
update docs/CHANGES.md with notes for v2024.9.10 and v2024.8.9
janosh Sep 10, 2024
48e7c98
fix cibuildwheel: No build identifiers selected: BuildSelector(build_…
janosh Sep 10, 2024
1ff1ba5
Use distinct names for artifacts (#4059)
ab5424 Sep 10, 2024
6bb2938
Fix `lll_reduce` for slab generation (#3927)
jinlhr542 Sep 11, 2024
7743ac7
(Not) Use `setup-uv` in CI tests workflow (#4063)
DanielYang59 Sep 13, 2024
60464fd
Fix all `ruff` DOC202 (#4067)
janosh Sep 13, 2024
ebfc7a0
improve and test PmgVaspPspDirError msg in PotcarSingle.from_symbol_a…
janosh Sep 15, 2024
96b3284
fix phase diagram break from 41e6d99 (#4070)
yang-ruoxi Sep 17, 2024
b373410
Updated changelog.
shyuep Sep 17, 2024
150f816
Update docs
shyuep Sep 17, 2024
d6204d9
fix chempot_diagram (#4072)
yang-ruoxi Sep 18, 2024
25efe6f
Update docs
shyuep Sep 18, 2024
67e65fd
Fix: fixed electronic step check with algo = exact and nelm = 1 (#4071)
yanghan234 Sep 18, 2024
ea7c339
Update addons.md (#4069)
AndySAnker Sep 18, 2024
e9ea813
Return `bool` instead of `np.bool_` (#4074)
jmmshn Sep 24, 2024
fa62ff4
SLME Bug Fixes (#4082)
kavanase Sep 27, 2024
d81568b
qchem.outputs.py change for FFOpt with Q-chem 6.1.1+ (#4087)
Jaebeom-P Oct 2, 2024
b4bc03d
Fix bug with species defaults (#4083)
tpurcell90 Oct 2, 2024
47b1b42
Fix usage of `strict=True` for `zip` in `cp2k.outputs` (#4084)
DanielYang59 Oct 2, 2024
4c76b58
Fix dict equality check with numpy array (#4086)
DanielYang59 Oct 2, 2024
862fa35
Install `BoltzTraP2` directly through `uv` (#4076)
DanielYang59 Oct 2, 2024
6000add
Update changelog. Update version.
shyuep Oct 3, 2024
557277e
Update docs
shyuep Oct 3, 2024
3e25f74
added ramannoodle external package to addons.md (#4094)
wolearyc Oct 4, 2024
7e42635
Support to aims format from Structure instance (#4103)
ansobolev Oct 10, 2024
668f1aa
Ion: bugfix for CO2(aq) reduced formula (#4099)
rkingsbury Oct 10, 2024
4f7aa35
VASP Bugfixes: Volumetric data and XDATCAR parsing for monatomic stru…
esoteric-ephemera Oct 14, 2024
9933f45
Add support to LOBSTER >=5.0 (#4065)
naik-aakash Oct 17, 2024
32d9beb
Bugfix: Preserve PBC info in `AseAtomsAdaptor` (#4121)
jsukpark Oct 17, 2024
042bea3
Capitalize INCAR keys by default. #4122
shyuep Oct 18, 2024
a27ba28
Merge branch 'master' of github.com:materialsproject/pymatgen
shyuep Oct 18, 2024
392650d
Keys should be upper.
shyuep Oct 18, 2024
ed8542d
Add test for upper case keys.
shyuep Oct 18, 2024
81619fa
doc: explicit the testing procedure (#4124)
Lattay Oct 19, 2024
a5b43d8
Add a useful VaspDir class to lazily parse and access all VASP files in
shyuep Oct 21, 2024
2fc42e7
Merge branch 'master' of github.com:materialsproject/pymatgen
shyuep Oct 21, 2024
8569b88
Update reqs.
shyuep Oct 21, 2024
992e80c
Add VaspDir to root pymatgen.io.vasp.
shyuep Oct 21, 2024
7b02bf3
More comprehensive testing.
shyuep Oct 21, 2024
91f12de
Make `Incar` keys case insensitive, fix init `Incar` from dict val pr…
DanielYang59 Oct 21, 2024
52eeeea
Fix gaussian input parser, and add test (#4127)
sio-salt Oct 21, 2024
7b7e61b
fix: preserve site properties over cell transform (#4123)
Lattay Oct 21, 2024
8a4822a
bump `networkx` to 2.7 to fix intermittent CI failure when `torch` in…
DanielYang59 Oct 21, 2024
a28e1da
Fix `savefig` in `pmg.cli.plot` (#4109)
DanielYang59 Oct 21, 2024
aa9bdbf
Migrate `ext.COD` from `mysql` to REST API (#4117)
DanielYang59 Oct 21, 2024
65e21cc
Bugfix: Parsing bugs in `io.pwscf.PWInput` (#4115)
jsukpark Oct 21, 2024
f4e2838
Fix arg passing in `inverse` property of `SymmOp` (#4113)
DanielYang59 Oct 21, 2024
ddf96bf
Add support for `use_structure_charge` keyword in FHI-aims input gene…
ansobolev Oct 21, 2024
a7a3ba5
Properly test `ase` not installed error, use single `skip` mark for m…
DanielYang59 Oct 21, 2024
723d9b8
Remove all `no_type_check` mark, fix new `mypy` error in `1.12.0` (#4…
DanielYang59 Oct 21, 2024
9424d5f
pin python 3.12 in CI and `requires-python` (#4102)
DanielYang59 Oct 21, 2024
aff0eb4
pre-commit autoupdate (#4096)
pre-commit-ci[bot] Oct 21, 2024
4613965
Bump webrick from 1.8.1 to 1.8.2 in /docs (#4090)
dependabot[bot] Oct 21, 2024
d699678
Enhance test for util function `is_np_dict_equal` (#4092)
DanielYang59 Oct 21, 2024
60441ea
Allow more than 20 terminal groups in CompoundPhaseDiagram (#4081)
afonari Oct 21, 2024
403a931
Update changelog.
shyuep Oct 21, 2024
b73e215
Fix minor test regression.
shyuep Oct 22, 2024
c611280
Bump networkx to 3.x
shyuep Oct 22, 2024
f7d964c
Support Pymatgen Species object in aims (#4118)
ansobolev Oct 22, 2024
e67e0b5
Correctly compute rotational symmetry number for D*h point group (#4093)
afonari Oct 22, 2024
08c1207
Replace deprecated `ExpCellFilter` with `FrechetCellFilter` (#4105)
ab5424 Oct 22, 2024
d493825
Update changelog.
shyuep Oct 22, 2024
aa37e99
Update docs
shyuep Oct 22, 2024
567d3dd
instead of failing, files woith no parser are now returned as strings in
shyuep Oct 23, 2024
930ae36
Ruff format.
shyuep Oct 23, 2024
3ee17e2
Fix selective_dyn handling (#4097)
kavanase Oct 23, 2024
6025d44
Support for nested folders (e.g., NEB runs) in VaspDir class.
shyuep Oct 23, 2024
ab99149
Minor code simplification.
shyuep Oct 23, 2024
2ffdf78
Simplify file mapping definitions.
shyuep Oct 23, 2024
97327e0
Enable selection of VaspDir files by name. Useful for quickly looking at
shyuep Oct 24, 2024
2541b9f
Remove test that breaks on windows.
shyuep Oct 24, 2024
17855fe
Reduce code duplication.
shyuep Oct 25, 2024
0dabd93
Add parsing of freq dielectric constant for BSE calculations.
shyuep Oct 25, 2024
f28c309
Fix default algo.
shyuep Oct 25, 2024
5d78d89
Update changelog.
shyuep Oct 25, 2024
8991e77
Update docs
shyuep Oct 25, 2024
42214bd
Clean up `neighbors.pyx` variable name (#4134)
DanielYang59 Oct 25, 2024
49ebc52
Fix comment pass in `Kpoints` constructors (#4131)
DanielYang59 Oct 25, 2024
6992aee
Prevent unit test of `boltztrap2` from modifying files in place (#4095)
DanielYang59 Oct 25, 2024
5f8aa5d
Make parsing of vaspruns with dielectric functions less fragile. No good
shyuep Oct 26, 2024
c18285f
Streamline dielectric data parsing to reduce code duplication.
shyuep Oct 26, 2024
203b354
Fix test regression.
shyuep Oct 26, 2024
77dac22
Properly fix tests for bad vasprun dielectric.
shyuep Oct 26, 2024
0a27c68
Update changelog.
shyuep Oct 27, 2024
0e65d35
Update docs
shyuep Oct 27, 2024
4b10dd3
Update docs.
shyuep Oct 27, 2024
e9cd97e
Fix contains implementation.
shyuep Oct 28, 2024
22b6a7f
Fix VaspDir.files.
shyuep Oct 28, 2024
e85d73b
Silly me, just use relative_to in pathlib.
shyuep Oct 28, 2024
89969ba
Rename VaspDir to PMGDir and move it to pymatgen.io.common since it is
shyuep Oct 28, 2024
6311a81
Merge branch 'master' of github.com:materialsproject/pymatgen
shyuep Oct 29, 2024
a3dfc8e
Update changelog.
shyuep Oct 29, 2024
c600ffc
Bump rexml from 3.3.6 to 3.3.9 in /docs (#4147)
dependabot[bot] Oct 29, 2024
91a5b65
Fixed execution of packmol in relative path. (#4145)
davidwaroquiers Oct 29, 2024
7719515
VaspDoc.get_incar_tags: Use Mediawiki API (#4141)
yantar92 Oct 29, 2024
5dd8c74
Update changelog.
shyuep Oct 29, 2024
5404615
Update docs
shyuep Oct 29, 2024
bd9fba9
Simplify implementation of PMGDir.
shyuep Oct 30, 2024
d302920
`matplotlib` test use non-interactive `agg` backend (#4168)
DanielYang59 Nov 12, 2024
3ff3d53
Clarify `util.string.formula_double_format` return type, fix using `i…
DanielYang59 Nov 12, 2024
0bed60c
Fix `borg.hive.SimpleVaspToComputedEntryDrone.assimilate` ValueError …
DanielYang59 Nov 12, 2024
665b7ad
pre-commit autoupdate (#4153)
pre-commit-ci[bot] Nov 12, 2024
dc9a97d
Show `FutureWarning` and `DeprecationWarning` for `pytest` (#4138)
DanielYang59 Nov 12, 2024
5066870
Preprocess Structure Reduction Before Bulk Match (#4137)
lan496 Nov 12, 2024
d883f98
new flag for AutoOxi (#4150)
jmmshn Nov 12, 2024
29b21bf
Read INCAR `SYSTEM` as is, `check_params` use `proc_val` (#4136)
DanielYang59 Nov 12, 2024
8f24c97
CP2K fixes (#4169)
janosh Nov 13, 2024
cc63b81
Replace hard-coded `np.allclose/isclose` and `math.isclose` (for comp…
DanielYang59 Nov 13, 2024
40100e9
Improve element mismatch handling with POTCAR for `Poscar.from_file/s…
DanielYang59 Nov 13, 2024
65f52ea
Add min "thickness" check in `CifParser` to filter invalid structure …
DanielYang59 Nov 13, 2024
179cdeb
bump `monty` to use the `monty.json` import speedup patch, add import…
DanielYang59 Nov 13, 2024
704c9c9
Use binary distribution (wheels) to install pymatgen in test suite (#…
DanielYang59 Nov 13, 2024
08dc6eb
`is_subgroup()` modifications in `SpaceGroup` and `PointGroup` (#3941)
kaueltzen Nov 13, 2024
5049409
Revert breaking `analysis.local_env` `default_op_params/cn_opt_params…
DanielYang59 Nov 13, 2024
05fcb53
Update changelog.
shyuep Nov 13, 2024
910e037
Merge branch 'master' of github.com:materialsproject/pymatgen
shyuep Nov 13, 2024
aab23ff
Update docs
shyuep Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://editorconfig.org/
root = true

# Default settings for all files.
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 120

# Set indent size for json and YAML files.
[*.{json,yml,yaml}]
indent_size = 2
8 changes: 4 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
test_files/* linguist-vendored
cmd_line/* linguist-vendored
docs/* linguist-documentation
docs_rst/* linguist-documentation
# declare HTML, rST and test files as vendored/docs to exclude them when calculating repo languages on GitHub
tests/files/**/* linguist-vendored
docs/**/* linguist-generated
dev_scripts/**/* linguist-vendored
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* @shyuep @janosh @mkhorton
pymatgen/io/ase.py @Andrew-S-Rosen
pymatgen/io/abinit/* @gmatteo
pymatgen/io/lobster/* @JaGeo
pymatgen/ext/* @ml-evs
tests/ext/* @ml-evs
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

69 changes: 69 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Report a Bug
description: Use this template to report a Pymatgen-related bug
labels: bug
body:
- type: markdown
attributes:
value: |
Try GitHub Codespaces for auto environment setup and streamlined info collection:

[![Open in Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/materialsproject/pymatgen?quickstart=1)

- type: input
id: python-version
attributes:
label: Python version
description: Use `python --version` to get Python version
placeholder: ex. Python 3.11.5
validations:
required: true

- type: input
id: pmg-version
attributes:
label: Pymatgen version
description: Use `pip show pymatgen | grep Version` to get Pymatgen version
placeholder: ex. 2023.12.18
validations:
required: true

- type: input
id: os
attributes:
label: Operating system version
placeholder: ex. Ubuntu 22.04 LTS
validations:
required: false

- type: textarea
id: current-behavior
attributes:
label: Current behavior
description: What bad behavior do you see?
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: What did you expect to see?
validations:
required: true

- type: textarea
id: code-snippet
attributes:
label: Minimal example
description: Please provide a minimal code snippet to reproduce this bug.
render: Python
validations:
required: false

- type: textarea
id: files
attributes:
label: Relevant files to reproduce this bug
description: Please upload relevant files to help reproduce this bug, or logs if helpful.
validations:
required: false
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Feature Request
description: Use this template to request a new feature
labels: enhancement
body:
- type: textarea
id: feature
attributes:
label: Feature Requested
description: Specify the feature and provide examples or use cases.
validations:
required: true

- type: textarea
id: solution
attributes:
label: Proposed Solution
description: Share your thoughts on how the feature could be implemented.
placeholder: Implement a new method that ...
validations:
required: true

- type: textarea
id: relevant
attributes:
label: Relevant Information
description: Additional context or links for understanding or implementing the feature.
placeholder: Use cases, related discussions, relevant literature, ...
validations:
required: false
47 changes: 0 additions & 47 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

75 changes: 75 additions & 0 deletions .github/code_of_conduct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socioeconomic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at `ongsp at ucsd dot edu`. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][contrib-cov], version 1.4.

[contrib-cov]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

For answers to common questions about this code of conduct, see
<https://contributor-covenant.org/faq>
36 changes: 36 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
changelog:
exclude:
authors: [dependabot, github-actions, pre-commit-ci]
categories:
- title: 💥 Breaking Changes
labels: [breaking]
- title: 🎉 New Features
labels: [feature]
- title: 🐛 Bug Fixes
labels: [fix]
- title: 🛠 Enhancements
labels: [enhancement, DX, UX]
- title: 📖 Documentation
labels: [docs]
- title: 🧹 House-Keeping
labels: [housekeeping]
- title: 🚀 Performance
labels: [performance]
- title: 🚧 CI
labels: [ci]
- title: 💡 Refactoring
labels: [refactor]
- title: 🧪 Tests
labels: [tests]
- title: 🧹 Linting
labels: [linting]
- title: 🔒 Security Fixes
labels: [security]
- title: 🏥 Package Health
labels: [pkg]
- title: 📦 Dependencies
labels: [dependencies, outdated]
- title: 🏷️ Type Hints
labels: [types]
- title: 🤷‍♂️ Other Changes
labels: ["*"]
44 changes: 44 additions & 0 deletions .github/workflows/issue-metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Monthly issue metrics
on:
workflow_dispatch:
schedule:
- cron: "3 2 1 * *" # Run at 2:03am on the first of every month

permissions:
contents: read

jobs:
build:
# prevent this action from running on forks
if: github.repository == 'materialsproject/pymatgen'
name: issue metrics
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: read
steps:
- name: Get dates for last month
shell: bash
run: |
# Calculate the first day of the previous month
first_day=$(date -d "last month" +%Y-%m-01)

# Calculate the last day of the previous month
last_day=$(date -d "$first_day +1 month -1 day" +%Y-%m-%d)

# Set an environment variable with the date range
echo "$first_day..$last_day"
echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"

- name: Run issue-metrics tool
uses: github/issue-metrics@v3
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEARCH_QUERY: 'repo:materialsproject/pymatgen is:issue created:${{ env.last_month }} -reason:"not planned"'

- name: Create issue
uses: peter-evans/create-issue-from-file@v5
with:
title: Monthly issue metrics report
token: ${{ secrets.GITHUB_TOKEN }}
content-filepath: ./issue_metrics.md
Loading