Repository navigation
Release/2.3.1 - #148
Open
olivhoenen wants to merge 9 commits into
Open
Release/2.3.1#148olivhoenen wants to merge 9 commits into
olivhoenen wants to merge 9 commits into
Conversation
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>
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>
Prevent an expensive `_path` calculation when it is not required.
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.
… models generation
…g strings before hashing)
Fix a regression on mdsplus models generation
olivhoenen
requested review from
SimonPinches,
maarten-ic and
prasad-sawantdesai
as code owners
October 26, 2026 11:05
SimonPinches
left a comment
Collaborator
There was a problem hiding this comment.
Do we need to update the changelog?
| "-Xms1g", # what do these do? | ||
| "-Xmx8g", # what do these do? | ||
| "-XX:+UseG1GC", # what do these do? | ||
| "--enable-native-access=ALL-UNNAMED", # Java-25 |
Collaborator
There was a problem hiding this comment.
This will break for everyone using a JVM older than 17. E.g. the native Java on our nodes....
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Notes for release 2.3.1
Improvements
validate()performance for large arrays of structures #139 )hasattron IDS structures #140 )Bugs