-
Notifications
You must be signed in to change notification settings - Fork 16
Rename imaspy to imas #6
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
Closed
prasad-sawantdesai
wants to merge
58
commits into
iterorganization:develop
from
prasad-sawantdesai:rename-imaspy-to-imas
Closed
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
c305fa6
renamed pyproject.toml
prasad-sawantdesai 6a1fc87
imaspy -> imas
prasad-sawantdesai 8cf4088
formatted with blacj
prasad-sawantdesai 88d03d9
fixed flake8 issues
prasad-sawantdesai 870ab00
skipped pytests which were using python hli
prasad-sawantdesai 8bfb094
fixed formatting
prasad-sawantdesai cf45162
removed code which was importing imas hli as fallback
prasad-sawantdesai 06aa20f
added ids files
prasad-sawantdesai 78b17de
updated documentation,links and rename of images
prasad-sawantdesai aee6d90
updated links
prasad-sawantdesai 5c870dd
updated dd repo
prasad-sawantdesai 623a0c0
removed -M option
prasad-sawantdesai 666611f
added -M option in makefile
prasad-sawantdesai f0af526
changed font for repo and enabled exit on error
prasad-sawantdesai 52f1b5c
removed al4_snippets and updated documentation
prasad-sawantdesai 3bf04ab
added workflow
prasad-sawantdesai c88c2b9
Merge branch 'iterorganization:develop' into rename-imaspy-to-imas
prasad-sawantdesai ca9cf96
added linitin and publish workflow
prasad-sawantdesai 61d4df4
Merge branch 'rename-imaspy-to-imas' of github.com:prasad-sawantdesai…
prasad-sawantdesai db1811f
fixed wrong lines in the workflow
prasad-sawantdesai 0fd25f9
fixed wrong lines in the workflow
prasad-sawantdesai 65e1387
push dev branches
prasad-sawantdesai 4f2b2a9
replaced versioneer with setuptools_scm
prasad-sawantdesai 55fdb9a
added git_archival.txt
prasad-sawantdesai 5c54bc7
kept dynamic->version in pyproject.toml and removed from setup.py
prasad-sawantdesai 40a79a7
updated license
prasad-sawantdesai 1b5d245
receive imas-core from hithub https
prasad-sawantdesai c9b7bda
removed direct dependency of imas-core
prasad-sawantdesai aa5cb94
included **cmd_class
prasad-sawantdesai e53f45d
do not raise exception if imas environment is not available
prasad-sawantdesai f43354f
cover with try catch exception for al methods
prasad-sawantdesai d56f0ba
cover with try catch exception for imas-core methods
prasad-sawantdesai 859ab81
Merge branch 'rename-imaspy-to-imas' of github.com:prasad-sawantdesai…
prasad-sawantdesai 450ed50
fixed merge issues with README.md
prasad-sawantdesai f4ae1ef
fixed formatting
prasad-sawantdesai 2970b86
added readthedocs yml file
prasad-sawantdesai 84ba2e9
dd_helpers uses saxonche
prasad-sawantdesai bd656e5
fixed typo linting.yml
prasad-sawantdesai 4ea8771
Merge branch 'iterorganization:develop' into rename-imaspy-to-imas
prasad-sawantdesai 9565400
Update installing.rst
olivhoenen f9fc94b
added tests for dd_helpers.py
prasad-sawantdesai 52229bb
Merge branch 'rename-imaspy-to-imas' of github.com:prasad-sawantdesai…
prasad-sawantdesai 05d2f55
removed line 0.8.0
prasad-sawantdesai 6f0812a
renamed IMASPY_LOGLEVEL
prasad-sawantdesai 443e9fe
Update release_imas.rst (WIP)
olivhoenen de7d460
updated ci plan
prasad-sawantdesai 38f607f
IMASPY->IMAS and updated ci_config.rst
prasad-sawantdesai 4e4200c
Merge branch 'rename-imaspy-to-imas' of github.com:prasad-sawantdesai…
prasad-sawantdesai d71e258
replaced versioneer to setuptools_scm documentation update #r1922478535
prasad-sawantdesai 7420d43
Updated link
prasad-sawantdesai 0df435f
removed non public paragraph
prasad-sawantdesai 2386203
Updated AL4 related constructs and comments
prasad-sawantdesai 5937fe3
imaspy->imas for changes before version 2
prasad-sawantdesai d416e8b
Update pyproject.toml
olivhoenen d7c6c5d
Update pyproject.toml
olivhoenen 03fd8d9
fix mdsplus models and benchmark projects
prasad-sawantdesai 78ac135
fixed benchmarks code
prasad-sawantdesai 4c52cf7
fix for msdplus model
prasad-sawantdesai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| node: $Format:%H$ | ||
| node-date: $Format:%cI$ | ||
| describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| imaspy/_version.py export-subst | ||
| .git_archival.txt export-subst |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| name: imas-python | ||
|
|
||
| on: push | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout imas-python sources | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| ref: rename-imaspy-to-imas | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.x' | ||
|
|
||
| - name: Display Python version | ||
| run: python -c "import sys; print(sys.version)" | ||
|
|
||
| - name: Install the code linting and formatting tools | ||
| run: pip install --upgrade 'black >=24,<25' flake8 | ||
|
|
||
| - name: Check formatting of code with black | ||
| run: black --check imas | ||
|
|
||
| - name: Check linting with flake8 | ||
| run: flake8 imas |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| name: build-wheel-and-publish-test-pypi | ||
|
|
||
| on: push | ||
|
|
||
| jobs: | ||
| build: | ||
| name: Build distribution | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.x" | ||
| - name: Install pypa/build | ||
| run: >- | ||
| python3 -m pip install pip setuptools wheel build | ||
| - name: Build a binary wheel and a source tarball | ||
| run: python3 -m build . | ||
| - name: Store the distribution packages | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: python-package-distributions | ||
| path: dist/ | ||
|
|
||
| publish-to-pypi: | ||
| name: Publish imas-python distribution to PyPI | ||
| needs: | ||
| - build | ||
| runs-on: ubuntu-latest | ||
| environment: | ||
| name: pypi | ||
| url: https://pypi.org/p/imas-python | ||
| permissions: | ||
| id-token: write # IMPORTANT: mandatory for trusted publishing | ||
| steps: | ||
| - name: Download all the dists | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: python-package-distributions | ||
| path: dist/ | ||
| - name: Publish distribution to PyPI | ||
| uses: pypa/gh-action-pypi-publish@release/v1 | ||
|
|
||
| publish-to-testpypi: | ||
| name: Publish imas-python distribution to TestPyPI | ||
| needs: | ||
| - build | ||
| runs-on: ubuntu-latest | ||
| environment: | ||
| name: testpypi | ||
| url: https://test.pypi.org/p/imas-python | ||
| permissions: | ||
| id-token: write # IMPORTANT: mandatory for trusted publishing | ||
| steps: | ||
| - name: Download all the dists | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| name: python-package-distributions | ||
| path: dist/ | ||
| - name: Publish distribution to TestPyPI | ||
| uses: pypa/gh-action-pypi-publish@unstable/v1 | ||
| with: | ||
| repository-url: https://test.pypi.org/legacy/ | ||
| verbose: true |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| version: 2 | ||
|
|
||
| build: | ||
| os: "ubuntu-22.04" | ||
| tools: | ||
| python: "3.11" | ||
| jobs: | ||
| post_checkout: | ||
| - git fetch --unshallow || true | ||
|
|
||
| python: | ||
| install: | ||
| - method: pip | ||
| path: . | ||
| extra_requirements: | ||
| - docs | ||
| - netcdf | ||
| - h5py | ||
|
|
||
| sphinx: | ||
| builder: html | ||
| configuration: docs/source/conf.py | ||
| fail_on_warning: false |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| include imaspy/assets/IDSDef.zip | ||
| include imaspy/assets/IDSDef2MDSpreTree.xsl | ||
| include imaspy/assets/ITER_134173_106_equilibrium.ids | ||
| include imaspy/assets/ITER_134173_106_core_profiles.ids | ||
| include imaspy/assets/equilibrium.ids | ||
| include imaspy/assets/core_profiles.ids | ||
| include imas/assets/IDSDef.zip | ||
| include imas/assets/IDSDef2MDSpreTree.xsl | ||
| include imas/assets/ITER_134173_106_equilibrium.ids | ||
| include imas/assets/ITER_134173_106_core_profiles.ids | ||
| include imas/assets/equilibrium.ids | ||
| include imas/assets/core_profiles.ids |
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.