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

Bump pymatgen from 2024.11.13 to 2025.1.24 #372

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2025

Bumps pymatgen from 2024.11.13 to 2025.1.24.

Release notes

Sourced from pymatgen's releases.

v2025.1.24

PR #4159 by @​DanielYang59

  • Objective: Enhance the reliability and efficiency of float comparison in the codebase.
  • Improvements:
    • Avoid using == for float comparisons to fix issue #4158.
    • Replace assert_array_equal with suitable alternatives like assert_allclose for floating-point arrays to accommodate numerical imprecision.
    • Improve the _proj function implementation, resulting in approximately a threefold speed increase.
    • Substitute sequences of float comparisons using == in list/tuple/dict structures.
    • Conduct various type and comment enhancements.

PR #4190 by @​benrich37

  • Objective: Introduce a structured and organized approach to represent data from JDFTx output files.
  • Key Features:
    • Hierarchical Class Structure: Implemented a hierarchy of classes to represent JDFTx output file data, without inheriting from one another. Key classes include:
      • JDFTXOutputs, JDFTXOutfile, JDFTXOutfileSlice
      • Sub-structures like JOutStructures, JElSteps, etc.
    • Modules Introduced:
      • outputs.py: Provides a robust Pythonic representation of a JDFTx output file.
      • jdftxoutfileslice.py: Represents a “slice” of a JDFTx output file.
      • joutstructures.py: Represents a series of structures within an output file slice.
      • joutstructure.py: Represents a single structure within an output file.
      • jelstep.py: Manages SCF steps and convergence data.
      • jminsettings.py: Abstract class for managing input minimization settings, with subclasses for various settings types.

PR #4189 by @​benrich37

  • Objective: Develop a Pythonic representation for inputs used in JDFTx calculations.
  • Key Features:
    • inputs.py module introducing JDFTXInfile class.
    • Helper modules:
      • generic_tags.py: Includes "Tag" objects to define structures expected by JDFTx inputs.
      • jdftxinfile_master_format.py: Facilitates the creation of appropriate "Tag" objects.
      • jdftxinfile_ref_options.py: Contains lists of valid inputs for various tags, such as XC functionals for the "elec-ex-corr" tag.

v2025.1.23

  1. PR #4255 by @​peikai: This PR resolves an inconsistency in the run_type for entries in a mixing scheme. The entry type was changed to 'r2SCAN', but the MaterialsProjectDFTMixingScheme() expected 'R2SCAN', causing errors and ignored entries in GGA(+U)/R2SCAN mixing scheme corrections.

  2. PR #4160 by @​DanielYang59: Enhancements and clarifications were made to the io.vasp.outputs.Outcar docstring/comment. This includes more specific type annotations for parsers and updating the default value in getattr to False for condition checks.

  3. PR #4257 by @​njzjz: This PR covers the intention to build Linux arm64 wheels, referencing the availability of free hosted runners for public repositories. However, specific features and fixes were not detailed.

  4. PR #4240 by @​kavanase: A minor fix in FermiDos improves the robustness of the get_doping method, addressing issues with handling rare cases with minimal energy increments between VBM and CBM indices.

  5. PR #4254 by @​tpurcell90: Adjustments regarding the use of libxc with FHI-aims to automatically add an override warning call, ensuring the process behaves as expected.

  6. PR #4256 by @​kavanase: Addresses a behavior issue with Composition for mixed species and element compositions, providing a fix that ensures compositions are interpreted correctly, avoiding incorrect results in representations and calculations.

  7. PR #4253 by @​esoteric-ephemera: This PR introduces the ability to convert between ASE and pymatgen trajectories, maintaining additional data such as energies, forces, and stresses, thus improving integration between the two programs and addressing related issues.

... (truncated)

Changelog

Sourced from pymatgen's changelog.

v2025.1.24

  1. PR #4159 by @​DanielYang59

    • Avoid using full equality == to compare float values to address issue #4158.
    • Recommend using assert_allclose over assert_array_equal for float arrays due to numerical imprecision.
    • Implement a ~3x speedup tweak to the _proj implementation.
    • Partially replace sequence of float comparison using == for list/tuple/dict as referenced here.
    • Introduce other type and comment tweaks.
  2. PR #4190 by @​benrich37

    • Feature 0: Hierarchical structure using class objects to represent data within a JDFTx out file.
      • Main hierarchy classes:
        • JDFTXOutputs
          • JDFTXOutputs.outfile
          • JDFTXOutfile
          • JDFTXOutfile.slices[i]
          • JDFTXOutfileSlice, etc.
    • Feature 1: outputs.py module with JDFTXOutfile for representing a JDFTx out file.
    • Feature 2: jdftxoutfileslice.py module with JDFTXOutfileSlice for file slices of a single JDFTx call.
    • Feature 3: joutstructures.py with JOutStructures for representing structures from an out file slice.
    • Feature 4: joutstructure.py with JOutStructure for each single structure within an out file.
    • Feature 5: jelstep.py with JElStep and JElSteps for SCF steps and convergences.
    • Feature 6: jminsettings.py with JMinSettings for minimization settings representations.
  3. PR #4189 by @​benrich37

    • Feature 1: inputs.py module containing JDFTXInfile for Pythonic representation of JDFTx calculation inputs.
    • Feature 2: generic_tags.py module with "Tag" objects (AbstractTag and its inheritors) for JDFTx input structure representation.
    • Feature 3: jdftxinfile_master_format.py for creating proper "Tag" objects for inputs.
    • Feature 4: jdftxinfile_ref_options.py for holding lists of acceptable strings for input tags.

v2025.1.23

  1. PR #4255 by @​peikai: This PR resolves an inconsistency in the run_type for entries in a mixing scheme. The entry type was changed to 'r2SCAN', but the MaterialsProjectDFTMixingScheme() expected 'R2SCAN', causing errors and ignored entries in GGA(+U)/R2SCAN mixing scheme corrections.

  2. PR #4160 by @​DanielYang59: Enhancements and clarifications were made to the io.vasp.outputs.Outcar docstring/comment. This includes more specific type annotations for parsers and updating the default value in getattr to False for condition checks.

  3. PR #4257 by @​njzjz: This PR covers the intention to build Linux arm64 wheels, referencing the availability of free hosted runners for public repositories. However, specific features and fixes were not detailed.

  4. PR #4240 by @​kavanase: A minor fix in FermiDos improves the robustness of the get_doping method, addressing issues with handling rare cases with minimal energy increments between VBM and CBM indices.

  5. PR #4254 by @​tpurcell90: Adjustments regarding the use of libxc with FHI-aims to automatically add an override warning call, ensuring the process behaves as expected.

  6. PR #4256 by @​kavanase: Addresses a behavior issue with Composition for mixed species and element compositions, providing a fix that ensures compositions are interpreted correctly, avoiding incorrect results in representations and calculations.

  7. PR #4253 by @​esoteric-ephemera: This PR introduces the ability to convert between ASE and pymatgen trajectories, maintaining additional data such as energies, forces, and stresses, thus improving integration between the two programs and addressing related issues.

These updates range from bug fixes and enhancements to new features aimed at improving the functionality and reliability of the codebase.

2025.1.9

... (truncated)

Commits

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)

Bumps [pymatgen](https://github.com/materialsproject/pymatgen) from 2024.11.13 to 2025.1.24.
- [Release notes](https://github.com/materialsproject/pymatgen/releases)
- [Changelog](https://github.com/materialsproject/pymatgen/blob/master/docs/CHANGES.md)
- [Commits](materialsproject/pymatgen@v2024.11.13...v2025.1.24)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 1, 2025
Copy link
Contributor

coderabbitai bot commented Feb 1, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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