Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: iterorganization/IMAS-Python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: iterorganization/IMAS-Python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: develop
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 6 files changed
  • 3 contributors

Commits on Jun 18, 2026

  1. group PRs from dependabot

    olivhoenen committed Jun 18, 2026
    Configuration menu
    Copy the full SHA
    d59c407 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2026

  1. Bump actions/checkout from 6 to 7 in the actions-deps group

    Bumps the actions-deps group with 1 update: [actions/checkout](https://github.com/actions/checkout).
    
    
    Updates `actions/checkout` from 6 to 7
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v6...v7)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-version: '7'
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions-deps
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and olivhoenen committed Jul 2, 2026
    Configuration menu
    Copy the full SHA
    e8afd63 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2026

  1. Bump actions/setup-python from 6 to 7 in the actions-deps group

    Bumps the actions-deps group with 1 update: [actions/setup-python](https://github.com/actions/setup-python).
    
    
    Updates `actions/setup-python` from 6 to 7
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v6...v7)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-version: '7'
      dependency-type: direct:production
      update-type: version-update:semver-major
      dependency-group: actions-deps
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored and olivhoenen committed Jul 24, 2026
    Configuration menu
    Copy the full SHA
    ce378a8 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2026

  1. Improve performance for large arrays of structures

    Prevent an expensive `_path` calculation when it is not required.
    maarten-ic authored and olivhoenen committed Jul 27, 2026
    Configuration menu
    Copy the full SHA
    a4f5a4b View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2026

  1. Improve speed of hasattr on IDS structures

    Replace `_path` (which constructs the path including AoS indices) with the static `metadata.path_string` when an attribute cannot be found.
    
    Speeds up the following sample from 110ms to 0.5ms (200x gain):
    
    ```python
    import timeit
    import imas
    
    cp = imas.IDSFactory().core_profiles()
    cp.profiles_1d.resize(1000)
    def totime():
        hasattr(cp.profiles_1d[999], "xyz")
    print(timeit.repeat(totime, number=1000))
    ```
    
    **Changed behaviour:**
    Before: `AttributeError: IDS structure 'profiles_1d[999]' has no attribute 'xyz'`
    After: `AttributeError: IDS structure 'profiles_1d' has no attribute 'xyz'`
    
    Since the index of an AoS is not relevant for whether an attribute exists or not, I believe this is not a problem.
    maarten-ic authored and olivhoenen committed Aug 6, 2026
    Configuration menu
    Copy the full SHA
    4390fae View commit details
    Browse the repository at this point in the history
Loading