Skip to content

Bump pymatgen from 2025.2.18 to 2025.5.28#392

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pymatgen-2025.5.28
Closed

Bump pymatgen from 2025.2.18 to 2025.5.28#392
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pymatgen-2025.5.28

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2025

Bumps pymatgen from 2025.2.18 to 2025.5.28.

Release notes

Sourced from pymatgen's releases.

v2025.5.28

  • PR #4411 Add orjson as required dependency as default JSON handler when custom encoder/decoder is not needed by @​DanielYang59
  • PR #4417 adding radd dunder method to Volumetric data + test_outputs by @​wladerer
  • PR #4418 JDFTXOutfileSlice Durability Improvement by @​benrich37 Major changes:
    • feature 1: Improved durability of JDFTXOutfileSlice._from_out_slice method (less likely to error out on unexpected termination) -- So long as one step of electronic minimization has started on an out file slice, parsing shouldn't error out
    • fix 1: Allow partially dumped eigstats
    • fix 2: Added missing optical band gap dumped by eigstats
    • fix 3: Protect the final JOutStructure in initializing a JOutStructures with a try/except block
    • fix 4: Detect if positions were only partially dumped and revert to data from init_structure in JOutStructure
    • fix 5: Prevent partially dumped matrices from being used in initializing a JOutStructure

    Todos

    • feature 1: Ensure parse-ability as long as a JDFTXOutfileSlice.infile can be initialized
  • PR #4419 Fix Molecule.get_boxed_structure when reorder=False by @​gpetretto
  • PR #4416 JDFTXInfile Comparison Methods by @​benrich37 Major changes:
    • feature 1: Convenience methods for comparing JDFTXInfile objects -- JDFTXInfile.is_comparable_to --- Returns True if at least one tag is found different --- Optional arguments exclude_tags, exclude_tag_categories, ensure_include_tags to ignore certain tags in the comparison ---- exclude_tag_categories defaults to ["export", "restart", "structure"] as "export" and "restart" are very rarely pertinent to comparability, "structure" as subtags of this category are generally the one thing being intentionally changed in comparisons (ie different local minima or a slab with/without an adsorbate) -- JDFTXInfile.get_filtered_differing_tags --- What is used in JDFTXInfile.is_comparable_to to get filtered differing tags between JDFTXInfile objects --- Convenient as a "verbose" alternative to JDFTXInfile.is_comparable_to -- AbstractTag.is_equal_to and AbstractTag._is_equal_to --- Used in tag comparison for finding differing tags --- AbstractTag._is_equal_to is an abstract method that must be implemented for each AbstractTag inheritor
    • feature 2: Default JDFTXInfile object pymatgen.io.jdftx.inputs.ref_infile -- Initialized from reading default JDFTx settings from pymatgen.io.jdftx.jdftxinfile_default_inputs.default_inputs: dict -- Used in JDFTXInfile.get_differing_tags_from for tags in self missing from other that are identical to the default setting
    • fix 1: Re-ordered contents of JDFTXInfile to follow the order: magic methods -> class methods / transformation methods -> validation methods -> properties -> private methods
    • fix 2: Checking for 'selective_dynamics' in site_properties for a Structure passed in JDFTXInfile.from_structure (used if selective_dynamics argument left as None)

    Todos

    • feature 1: Add examples to documentation on how to properly use new comparison methods
    • feature 2: Improve the mapping of TagContainers to their default values -- The current implementation of comparison for tags to default values only works if the tag as written exactly matches the full default value - at the very least the missing subtags of a partially filled TagContainer needs to be filled with the default values before comparing to the full default value -- Some subtags also change depending on the other subtags present for a particular tag (ie convergence threshold depending on algorithm specified for 'fluid-minimize', so an improved mapping for dynamic default values needs to be implemented
  • PR #4413 JDFTXOutputs.bandstructure: BandStructure by @​benrich37 Major changes:
    • feature 1: Added 'kpts' storable variable to JDFTXOutputs -- Currently only able to obtain from the 'bandProjections' file
    • feature 2: Added bandstructure attribute to JDFTXOutputs -- Standard pymatgen BandStrucure object -- Request-able as a store_var, but functions slightly differently --- Ensures 'eigenvals' and 'kpts' are in store_vars and then is deleted -- Initialized if JDFTXOutputs has successfully stored at least 'kpts' and 'eigenvals' -- Fills projections field if also has stored 'bandProjections'
    • feature 3: Added wk_list to JDFTXOutputs -- List of weights for each k-point

... (truncated)

Changelog

Sourced from pymatgen's changelog.

v2025.5.28

  • PR #4411 Add orjson as required dependency as default JSON handler when custom encoder/decoder is not needed by @​DanielYang59
  • PR #4417 adding radd dunder method to Volumetric data + test_outputs by @​wladerer
  • PR #4418 JDFTXOutfileSlice Durability Improvement by @​benrich37 Major changes:
    • feature 1: Improved durability of JDFTXOutfileSlice._from_out_slice method (less likely to error out on unexpected termination) -- So long as one step of electronic minimization has started on an out file slice, parsing shouldn't error out
    • fix 1: Allow partially dumped eigstats
    • fix 2: Added missing optical band gap dumped by eigstats
    • fix 3: Protect the final JOutStructure in initializing a JOutStructures with a try/except block
    • fix 4: Detect if positions were only partially dumped and revert to data from init_structure in JOutStructure
    • fix 5: Prevent partially dumped matrices from being used in initializing a JOutStructure

    Todos

    • feature 1: Ensure parse-ability as long as a JDFTXOutfileSlice.infile can be initialized
  • PR #4419 Fix Molecule.get_boxed_structure when reorder=False by @​gpetretto
  • PR #4416 JDFTXInfile Comparison Methods by @​benrich37 Major changes:
    • feature 1: Convenience methods for comparing JDFTXInfile objects -- JDFTXInfile.is_comparable_to --- Returns True if at least one tag is found different --- Optional arguments exclude_tags, exclude_tag_categories, ensure_include_tags to ignore certain tags in the comparison ---- exclude_tag_categories defaults to ["export", "restart", "structure"] as "export" and "restart" are very rarely pertinent to comparability, "structure" as subtags of this category are generally the one thing being intentionally changed in comparisons (ie different local minima or a slab with/without an adsorbate) -- JDFTXInfile.get_filtered_differing_tags --- What is used in JDFTXInfile.is_comparable_to to get filtered differing tags between JDFTXInfile objects --- Convenient as a "verbose" alternative to JDFTXInfile.is_comparable_to -- AbstractTag.is_equal_to and AbstractTag._is_equal_to --- Used in tag comparison for finding differing tags --- AbstractTag._is_equal_to is an abstract method that must be implemented for each AbstractTag inheritor
    • feature 2: Default JDFTXInfile object pymatgen.io.jdftx.inputs.ref_infile -- Initialized from reading default JDFTx settings from pymatgen.io.jdftx.jdftxinfile_default_inputs.default_inputs: dict -- Used in JDFTXInfile.get_differing_tags_from for tags in self missing from other that are identical to the default setting
    • fix 1: Re-ordered contents of JDFTXInfile to follow the order: magic methods -> class methods / transformation methods -> validation methods -> properties -> private methods
    • fix 2: Checking for 'selective_dynamics' in site_properties for a Structure passed in JDFTXInfile.from_structure (used if selective_dynamics argument left as None)

    Todos

    • feature 1: Add examples to documentation on how to properly use new comparison methods
    • feature 2: Improve the mapping of TagContainers to their default values -- The current implementation of comparison for tags to default values only works if the tag as written exactly matches the full default value - at the very least the missing subtags of a partially filled TagContainer needs to be filled with the default values before comparing to the full default value -- Some subtags also change depending on the other subtags present for a particular tag (ie convergence threshold depending on algorithm specified for 'fluid-minimize', so an improved mapping for dynamic default values needs to be implemented
  • PR #4413 JDFTXOutputs.bandstructure: BandStructure by @​benrich37 Major changes:
    • feature 1: Added 'kpts' storable variable to JDFTXOutputs -- Currently only able to obtain from the 'bandProjections' file
    • feature 2: Added bandstructure attribute to JDFTXOutputs -- Standard pymatgen BandStrucure object -- Request-able as a store_var, but functions slightly differently --- Ensures 'eigenvals' and 'kpts' are in store_vars and then is deleted -- Initialized if JDFTXOutputs has successfully stored at least 'kpts' and 'eigenvals' -- Fills projections field if also has stored 'bandProjections'
    • feature 3: Added wk_list to JDFTXOutputs

... (truncated)

Commits
  • 20afc86 Update docs
  • 9051ced Update changelog.
  • dd4da5f Add orjson as required dependency as default JSON handler when custom encod...
  • 57d7f57 adding radd dunder method to Volumetric data + test_outputs (#4417)
  • 9fea170 JDFTXOutfileSlice Durability Improvement (#4418)
  • c6031ff fix Molecule.get_boxed_structure when reorder=False (#4419)
  • 55f70b2 JDFTXInfile Comparison Methods (#4416)
  • 12c573a bandstructure attribute for JDFTOutputs - initializes to BandStructure if...
  • e82356d More test fixes.
  • 378eea9 Write better tests.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 2, 2025
Bumps [pymatgen](https://github.com/materialsproject/pymatgen) from 2025.2.18 to 2025.5.28.
- [Release notes](https://github.com/materialsproject/pymatgen/releases)
- [Changelog](https://github.com/materialsproject/pymatgen/blob/master/docs/CHANGES.md)
- [Commits](materialsproject/pymatgen@v2025.2.18...v2025.5.28)

---
updated-dependencies:
- dependency-name: pymatgen
  dependency-version: 2025.5.28
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pymatgen-2025.5.28 branch from 2a6040c to a6978cc Compare June 7, 2025 11:21
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Jun 16, 2025

Superseded by #401.

@dependabot dependabot bot closed this Jun 16, 2025
@dependabot dependabot bot deleted the dependabot/pip/pymatgen-2025.5.28 branch June 16, 2025 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants