imas-idstools 2.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- imas_idstools-2.4.0/.git-blame-ignore-revs +7 -0
- imas_idstools-2.4.0/.git_archival.txt +3 -0
- imas_idstools-2.4.0/.gitattributes +1 -0
- imas_idstools-2.4.0/.github/workflows/linting.yml +39 -0
- imas_idstools-2.4.0/.github/workflows/publish.yml +74 -0
- imas_idstools-2.4.0/.github/workflows/security.yml +33 -0
- imas_idstools-2.4.0/.github/workflows/test_with_pytest.yml +75 -0
- imas_idstools-2.4.0/.github/workflows/verify_with_sphinx.yml +55 -0
- imas_idstools-2.4.0/.gitignore +51 -0
- imas_idstools-2.4.0/.pre-commit-config.yaml +12 -0
- imas_idstools-2.4.0/.readthedocs.yml +27 -0
- imas_idstools-2.4.0/CONTRIBUTING.md +143 -0
- imas_idstools-2.4.0/LICENSE.md +165 -0
- imas_idstools-2.4.0/PKG-INFO +161 -0
- imas_idstools-2.4.0/README.md +85 -0
- imas_idstools-2.4.0/ci-sdcc/dependencies.txt +4 -0
- imas_idstools-2.4.0/ci-sdcc/ebfiles/IDStools.eb.in +85 -0
- imas_idstools-2.4.0/ci-sdcc/st00-header.sh +145 -0
- imas_idstools-2.4.0/ci-sdcc/st01-create-distribution.sh +35 -0
- imas_idstools-2.4.0/ci-sdcc/st02-install.sh +28 -0
- imas_idstools-2.4.0/ci-sdcc/st03-test.sh +126 -0
- imas_idstools-2.4.0/ci-sdcc/st04-create-easybuildinfo.sh +29 -0
- imas_idstools-2.4.0/ci-sdcc/st05-deploy.sh +179 -0
- imas_idstools-2.4.0/ci-sdcc/st06-doc.sh +34 -0
- imas_idstools-2.4.0/ci-sdcc/st07-codecov.sh +30 -0
- imas_idstools-2.4.0/ci-sdcc/st08-staticanalysis.sh +37 -0
- imas_idstools-2.4.0/ci-sdcc/utils.sh +236 -0
- imas_idstools-2.4.0/docs/.gitignore +2 -0
- imas_idstools-2.4.0/docs/Makefile +41 -0
- imas_idstools-2.4.0/docs/make.bat +35 -0
- imas_idstools-2.4.0/docs/source/.gitignore +1 -0
- imas_idstools-2.4.0/docs/source/_static/.gitignore +1 -0
- imas_idstools-2.4.0/docs/source/_static/idstools-16.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/idstools-32.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/idstools-48.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/EcstrayView_plotCutOffLayer.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/EcstrayView_plotResonanceLayer.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/EquilibriumView_viewMagneticPoloidalFlux.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/PFActiveView_viewActivePfCoils.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/ecstray.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/idsdiff_1.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/idsdiff_2.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/idsdiff_3.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/idsdiff_4.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/idsdiff_5.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/idsprint_1.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/idsprint_2.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/idsprint_3.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plortscenario.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotcoresources.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotcoretransport.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/ploteccomposition.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotecray.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotecstrayradiation.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotedgeprofiles.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotequicomp.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotequilibrium.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotequilibrium2.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotequilibrium3.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plothcddistributions.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plothcddistributions2.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plothcdwaves.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plothcdwaves2.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotkineticprofiles.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotmachinedescription.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotmachinedescription2.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotmachinedescription3.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotneutron.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotpressure.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotrotation.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotscenario.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotspectrometry.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/plotspectrometry1.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/wallview_iter.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/images/wallview_jet.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/index-images/api.svg +362 -0
- imas_idstools-2.4.0/docs/source/_static/index-images/install.svg +2578 -0
- imas_idstools-2.4.0/docs/source/_static/index-images/support.png +0 -0
- imas_idstools-2.4.0/docs/source/_static/index-images/user-guide.svg +328 -0
- imas_idstools-2.4.0/docs/source/_static/logo_dark.svg +0 -0
- imas_idstools-2.4.0/docs/source/_static/logp.svg +138 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/index.rst +15 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/python/attribute.rst +1 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/python/class.rst +60 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/python/data.rst +37 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/python/exception.rst +1 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/python/function.rst +15 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/python/method.rst +19 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/python/module.rst +114 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/python/package.rst +1 -0
- imas_idstools-2.4.0/docs/source/_templates/autoapi/python/property.rst +15 -0
- imas_idstools-2.4.0/docs/source/_templates/base.html +12 -0
- imas_idstools-2.4.0/docs/source/_templates/searchbox.html +23 -0
- imas_idstools-2.4.0/docs/source/analysis_tools.rst +31 -0
- imas_idstools-2.4.0/docs/source/cheatsheet.rst +555 -0
- imas_idstools-2.4.0/docs/source/conf.py +341 -0
- imas_idstools-2.4.0/docs/source/create_db_entry.rst +61 -0
- imas_idstools-2.4.0/docs/source/create_db_entry_disruption.rst +53 -0
- imas_idstools-2.4.0/docs/source/database_tools.rst +15 -0
- imas_idstools-2.4.0/docs/source/dbconverter.rst +55 -0
- imas_idstools-2.4.0/docs/source/dblist.rst +149 -0
- imas_idstools-2.4.0/docs/source/dbperf.rst +18 -0
- imas_idstools-2.4.0/docs/source/dbscraper.rst +115 -0
- imas_idstools-2.4.0/docs/source/dbselector.rst +38 -0
- imas_idstools-2.4.0/docs/source/disruption_summary.rst +28 -0
- imas_idstools-2.4.0/docs/source/eqdsk2ids.rst +56 -0
- imas_idstools-2.4.0/docs/source/ids_manipulation_tools.rst +22 -0
- imas_idstools-2.4.0/docs/source/idscp.rst +19 -0
- imas_idstools-2.4.0/docs/source/idsdiff.rst +99 -0
- imas_idstools-2.4.0/docs/source/idslist.rst +106 -0
- imas_idstools-2.4.0/docs/source/idsperf.rst +94 -0
- imas_idstools-2.4.0/docs/source/idsprint.rst +198 -0
- imas_idstools-2.4.0/docs/source/idsquery.rst +76 -0
- imas_idstools-2.4.0/docs/source/idsresample.rst +31 -0
- imas_idstools-2.4.0/docs/source/idsrescale_equilibrium.rst +25 -0
- imas_idstools-2.4.0/docs/source/idsrosettacode.rst +23 -0
- imas_idstools-2.4.0/docs/source/idsshift_equilibrium.rst +24 -0
- imas_idstools-2.4.0/docs/source/idssize.rst +47 -0
- imas_idstools-2.4.0/docs/source/idstools_overview.rst +24 -0
- imas_idstools-2.4.0/docs/source/index.rst +45 -0
- imas_idstools-2.4.0/docs/source/install.rst +137 -0
- imas_idstools-2.4.0/docs/source/md_status.rst +34 -0
- imas_idstools-2.4.0/docs/source/md_summary.rst +56 -0
- imas_idstools-2.4.0/docs/source/plotcoresources.rst +30 -0
- imas_idstools-2.4.0/docs/source/plotcoretransport.rst +25 -0
- imas_idstools-2.4.0/docs/source/ploteccomposition.rst +23 -0
- imas_idstools-2.4.0/docs/source/plotecray.rst +25 -0
- imas_idstools-2.4.0/docs/source/plotecstrayradiation.rst +30 -0
- imas_idstools-2.4.0/docs/source/plotedgeprofiles.rst +27 -0
- imas_idstools-2.4.0/docs/source/plotequicomp.rst +25 -0
- imas_idstools-2.4.0/docs/source/plotequilibrium.rst +36 -0
- imas_idstools-2.4.0/docs/source/plothcd.rst +18 -0
- imas_idstools-2.4.0/docs/source/plothcddistributions.rst +33 -0
- imas_idstools-2.4.0/docs/source/plothcdwaves.rst +29 -0
- imas_idstools-2.4.0/docs/source/plotkineticprofiles.rst +39 -0
- imas_idstools-2.4.0/docs/source/plotmachinedescription.rst +47 -0
- imas_idstools-2.4.0/docs/source/plotneutron.rst +42 -0
- imas_idstools-2.4.0/docs/source/plotpressure.rst +40 -0
- imas_idstools-2.4.0/docs/source/plotrotation.rst +31 -0
- imas_idstools-2.4.0/docs/source/plotscenario.rst +32 -0
- imas_idstools-2.4.0/docs/source/plotspectrometry.rst +26 -0
- imas_idstools-2.4.0/docs/source/printcoresources.rst +131 -0
- imas_idstools-2.4.0/docs/source/printfluxes.rst +68 -0
- imas_idstools-2.4.0/docs/source/printplasmacompo.rst +61 -0
- imas_idstools-2.4.0/docs/source/scenario_status.rst +48 -0
- imas_idstools-2.4.0/docs/source/scenario_summary.rst +69 -0
- imas_idstools-2.4.0/docs/source/scenariodb_tools.rst +20 -0
- imas_idstools-2.4.0/docs/source/show_db_entry.rst +39 -0
- imas_idstools-2.4.0/docs/source/support.rst +12 -0
- imas_idstools-2.4.0/docs/source/tools.rst +14 -0
- imas_idstools-2.4.0/docs/source/watch_db_entry.rst +13 -0
- imas_idstools-2.4.0/idstools/__init__.py +40 -0
- imas_idstools-2.4.0/idstools/_version.py +7 -0
- imas_idstools-2.4.0/idstools/cocos.py +436 -0
- imas_idstools-2.4.0/idstools/compute/__init__.py +0 -0
- imas_idstools-2.4.0/idstools/compute/common.py +1140 -0
- imas_idstools-2.4.0/idstools/compute/core_profiles.py +995 -0
- imas_idstools-2.4.0/idstools/compute/core_sources.py +572 -0
- imas_idstools-2.4.0/idstools/compute/core_transport.py +108 -0
- imas_idstools-2.4.0/idstools/compute/distribution_sources.py +104 -0
- imas_idstools-2.4.0/idstools/compute/distributions.py +351 -0
- imas_idstools-2.4.0/idstools/compute/edge_profiles.py +991 -0
- imas_idstools-2.4.0/idstools/compute/equilibrium.py +1814 -0
- imas_idstools-2.4.0/idstools/compute/magnetics.py +312 -0
- imas_idstools-2.4.0/idstools/compute/pf_active.py +114 -0
- imas_idstools-2.4.0/idstools/compute/pf_passive.py +116 -0
- imas_idstools-2.4.0/idstools/compute/spectrometer_visible.py +108 -0
- imas_idstools-2.4.0/idstools/compute/summary.py +279 -0
- imas_idstools-2.4.0/idstools/compute/tf.py +76 -0
- imas_idstools-2.4.0/idstools/compute/wall.py +295 -0
- imas_idstools-2.4.0/idstools/compute/waves.py +571 -0
- imas_idstools-2.4.0/idstools/database.py +968 -0
- imas_idstools-2.4.0/idstools/domain/__init__.py +0 -0
- imas_idstools-2.4.0/idstools/domain/ecstray.py +194 -0
- imas_idstools-2.4.0/idstools/domain/kineticprofiles.py +2039 -0
- imas_idstools-2.4.0/idstools/eqdsk2ids.py +755 -0
- imas_idstools-2.4.0/idstools/idschk.py +1063 -0
- imas_idstools-2.4.0/idstools/idsperf.py +130 -0
- imas_idstools-2.4.0/idstools/init_mendeleiev.py +270 -0
- imas_idstools-2.4.0/idstools/input_processing.py +754 -0
- imas_idstools-2.4.0/idstools/machinedescription.py +396 -0
- imas_idstools-2.4.0/idstools/scenariodescription.py +343 -0
- imas_idstools-2.4.0/idstools/set_logger.py +57 -0
- imas_idstools-2.4.0/idstools/test/idstools_tests/__init__.py +0 -0
- imas_idstools-2.4.0/idstools/test/idstools_tests/compute/__init__.py +0 -0
- imas_idstools-2.4.0/idstools/test/idstools_tests/compute/common/__init__.py +0 -0
- imas_idstools-2.4.0/idstools/test/idstools_tests/compute/common/test_functions.py +58 -0
- imas_idstools-2.4.0/idstools/utils/__init__.py +0 -0
- imas_idstools-2.4.0/idstools/utils/clihelper.py +248 -0
- imas_idstools-2.4.0/idstools/utils/idshelper.py +1135 -0
- imas_idstools-2.4.0/idstools/utils/idslogger.py +45 -0
- imas_idstools-2.4.0/idstools/utils/utility_functions.py +23 -0
- imas_idstools-2.4.0/idstools/view/__init__.py +0 -0
- imas_idstools-2.4.0/idstools/view/common.py +313 -0
- imas_idstools-2.4.0/idstools/view/core_profiles.py +519 -0
- imas_idstools-2.4.0/idstools/view/core_sources.py +425 -0
- imas_idstools-2.4.0/idstools/view/core_transport.py +333 -0
- imas_idstools-2.4.0/idstools/view/distribution_sources.py +58 -0
- imas_idstools-2.4.0/idstools/view/distributions.py +193 -0
- imas_idstools-2.4.0/idstools/view/domain/__init__.py +0 -0
- imas_idstools-2.4.0/idstools/view/domain/ecstray.py +182 -0
- imas_idstools-2.4.0/idstools/view/domain/kineticprofiles.py +401 -0
- imas_idstools-2.4.0/idstools/view/domain/mdplot.py +164 -0
- imas_idstools-2.4.0/idstools/view/edge_profiles.py +285 -0
- imas_idstools-2.4.0/idstools/view/equilibrium.py +809 -0
- imas_idstools-2.4.0/idstools/view/magnetics.py +373 -0
- imas_idstools-2.4.0/idstools/view/pf_active.py +277 -0
- imas_idstools-2.4.0/idstools/view/pf_passive.py +247 -0
- imas_idstools-2.4.0/idstools/view/polygon.py +141 -0
- imas_idstools-2.4.0/idstools/view/spectrometer_visible.py +130 -0
- imas_idstools-2.4.0/idstools/view/styles/scientific.mplstyle +68 -0
- imas_idstools-2.4.0/idstools/view/summary.py +264 -0
- imas_idstools-2.4.0/idstools/view/tf.py +171 -0
- imas_idstools-2.4.0/idstools/view/wall.py +246 -0
- imas_idstools-2.4.0/idstools/view/waves.py +595 -0
- imas_idstools-2.4.0/imas_idstools.egg-info/PKG-INFO +161 -0
- imas_idstools-2.4.0/imas_idstools.egg-info/SOURCES.txt +300 -0
- imas_idstools-2.4.0/imas_idstools.egg-info/dependency_links.txt +1 -0
- imas_idstools-2.4.0/imas_idstools.egg-info/requires.txt +37 -0
- imas_idstools-2.4.0/imas_idstools.egg-info/top_level.txt +2 -0
- imas_idstools-2.4.0/manpages.sh +17 -0
- imas_idstools-2.4.0/notebooks/viewequilibriumbook.ipynb +68 -0
- imas_idstools-2.4.0/pyproject.toml +141 -0
- imas_idstools-2.4.0/pytest.ini +15 -0
- imas_idstools-2.4.0/resources/geqdsk/example.gfile +319 -0
- imas_idstools-2.4.0/resources/input/ec_waveforms.yaml +190 -0
- imas_idstools-2.4.0/resources/input/scenario.yaml +51 -0
- imas_idstools-2.4.0/resources/input/wall2d.txt +19 -0
- imas_idstools-2.4.0/resources/mappings/h-mode-db-mapping.csv +192 -0
- imas_idstools-2.4.0/resources/results/s134173_r22_t29.94_pX.txt +11 -0
- imas_idstools-2.4.0/resources/results/s134173_r22_t30.94_pX.txt +11 -0
- imas_idstools-2.4.0/resources/results/s134173_r22_t31.94_pX.txt +11 -0
- imas_idstools-2.4.0/resources/validation_schemas/ITER/core_profiles.yml +6 -0
- imas_idstools-2.4.0/resources/validation_schemas/ITER/edge_profiles.yml +5 -0
- imas_idstools-2.4.0/resources/validation_schemas/ITER/equilibrium.yml +6 -0
- imas_idstools-2.4.0/resources/validation_schemas/ITER/summary.yml +8 -0
- imas_idstools-2.4.0/resources/validation_schemas/generic/core_profiles.yml +52 -0
- imas_idstools-2.4.0/resources/validation_schemas/generic/edge_profiles.yml +90 -0
- imas_idstools-2.4.0/resources/validation_schemas/generic/edge_sources.yml +65 -0
- imas_idstools-2.4.0/resources/validation_schemas/generic/edge_transport.yml +78 -0
- imas_idstools-2.4.0/resources/validation_schemas/generic/equilibrium.yml +19 -0
- imas_idstools-2.4.0/resources/validation_schemas/generic/summary.yml +36 -0
- imas_idstools-2.4.0/scripts/create_db_entry +820 -0
- imas_idstools-2.4.0/scripts/create_db_entry_disruption +311 -0
- imas_idstools-2.4.0/scripts/dbconverter +179 -0
- imas_idstools-2.4.0/scripts/dblist +549 -0
- imas_idstools-2.4.0/scripts/dbperf +463 -0
- imas_idstools-2.4.0/scripts/dbscraper +162 -0
- imas_idstools-2.4.0/scripts/dbselector +88 -0
- imas_idstools-2.4.0/scripts/disruption_summary +479 -0
- imas_idstools-2.4.0/scripts/eqdsk2ids +174 -0
- imas_idstools-2.4.0/scripts/idscp +238 -0
- imas_idstools-2.4.0/scripts/idsdiff +902 -0
- imas_idstools-2.4.0/scripts/idslist +205 -0
- imas_idstools-2.4.0/scripts/idsperf +191 -0
- imas_idstools-2.4.0/scripts/idsprint +600 -0
- imas_idstools-2.4.0/scripts/idsquery +160 -0
- imas_idstools-2.4.0/scripts/idsresample +233 -0
- imas_idstools-2.4.0/scripts/idsrescale_equilibrium +121 -0
- imas_idstools-2.4.0/scripts/idsrosettacode +280 -0
- imas_idstools-2.4.0/scripts/idsshift_equilibrium +116 -0
- imas_idstools-2.4.0/scripts/idssize +76 -0
- imas_idstools-2.4.0/scripts/md_status +81 -0
- imas_idstools-2.4.0/scripts/md_summary +197 -0
- imas_idstools-2.4.0/scripts/plotcoresources +114 -0
- imas_idstools-2.4.0/scripts/plotcoretransport +191 -0
- imas_idstools-2.4.0/scripts/ploteccomposition +158 -0
- imas_idstools-2.4.0/scripts/plotecray +293 -0
- imas_idstools-2.4.0/scripts/plotecstrayradiation +193 -0
- imas_idstools-2.4.0/scripts/plotedgeprofiles +204 -0
- imas_idstools-2.4.0/scripts/plotequicomp +405 -0
- imas_idstools-2.4.0/scripts/plotequilibrium +217 -0
- imas_idstools-2.4.0/scripts/plothcd +468 -0
- imas_idstools-2.4.0/scripts/plothcddistributions +127 -0
- imas_idstools-2.4.0/scripts/plothcdwaves +166 -0
- imas_idstools-2.4.0/scripts/plotkineticprofiles +100 -0
- imas_idstools-2.4.0/scripts/plotmachinedescription +81 -0
- imas_idstools-2.4.0/scripts/plotneutron +142 -0
- imas_idstools-2.4.0/scripts/plotpressure +102 -0
- imas_idstools-2.4.0/scripts/plotrotation +104 -0
- imas_idstools-2.4.0/scripts/plotscenario +240 -0
- imas_idstools-2.4.0/scripts/plotspectrometry +141 -0
- imas_idstools-2.4.0/scripts/printcoresources +72 -0
- imas_idstools-2.4.0/scripts/printfluxes +72 -0
- imas_idstools-2.4.0/scripts/printplasmacompo +244 -0
- imas_idstools-2.4.0/scripts/scenario_status +105 -0
- imas_idstools-2.4.0/scripts/scenario_summary +288 -0
- imas_idstools-2.4.0/scripts/show_db_entry +54 -0
- imas_idstools-2.4.0/scripts/watch_db_entry +85 -0
- imas_idstools-2.4.0/setup.cfg +24 -0
- imas_idstools-2.4.0/tests/conftest.py +109 -0
- imas_idstools-2.4.0/tests/st00_common.sh +50 -0
- imas_idstools-2.4.0/tests/st01_test_ids_scripts_with_uri.sh +51 -0
- imas_idstools-2.4.0/tests/st02_test_db_scripts.sh +44 -0
- imas_idstools-2.4.0/tests/st03_test_analysis_scripts_with_uri.sh +86 -0
- imas_idstools-2.4.0/tests/st04_test_scenario_scripts.sh +38 -0
- imas_idstools-2.4.0/tests/test_config.yaml +48 -0
- imas_idstools-2.4.0/tests/test_idslist.py +94 -0
- imas_idstools-2.4.0/tests/test_idsprint.py +264 -0
- imas_idstools-2.4.0/tests/test_utils.py +376 -0
- imas_idstools-2.4.0/tests/test_verify_files.py +77 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
22adeed78310ffb0f2dcadb93eae3a3a36340a2f
|
|
2
|
+
ac73d9eb236a614d5f31d66f05c742ff2f397113
|
|
3
|
+
11066c979ef38a50133edf0530b2a3808d572fe2
|
|
4
|
+
96e75a0ebc484405ca924e215719e343a984cb59
|
|
5
|
+
90ab800da937375005c92f8aa1c19c8d5a82affe
|
|
6
|
+
4ad2dac9de8d4c821f54fdd476ec2fd4eaac2349
|
|
7
|
+
938f6185b7c9f461927c2075afa30b0a01d9b0ef
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.git_archival.txt export-subst
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
name: linting-and-code-formatting
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
types: [opened, synchronize, reopened]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
|
|
11
|
+
runs-on: ubuntu-22.04
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- name: Checkout IDStools sources
|
|
15
|
+
uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- name: Set up Python
|
|
18
|
+
uses: actions/setup-python@v5
|
|
19
|
+
with:
|
|
20
|
+
# until saxonche is available in 3.13
|
|
21
|
+
# https://saxonica.plan.io/issues/6561
|
|
22
|
+
python-version: "<3.13"
|
|
23
|
+
|
|
24
|
+
- name: Display Python version
|
|
25
|
+
run: python -c "import sys; print(sys.version)"
|
|
26
|
+
|
|
27
|
+
- name: Install the code linting and formatting tools
|
|
28
|
+
run: pip install --upgrade 'black >=24,<25' flake8 pylint
|
|
29
|
+
|
|
30
|
+
- name: Check formatting of code with black
|
|
31
|
+
run: |
|
|
32
|
+
black --check -l 120 idstools
|
|
33
|
+
black --check -l 120 scripts/*
|
|
34
|
+
|
|
35
|
+
- name: Check linting with flake8
|
|
36
|
+
run: flake8 --max-line-length=120 --ignore=E203,W503 idstools
|
|
37
|
+
|
|
38
|
+
- name: Check linting with pylint
|
|
39
|
+
run: pylint --max-line-length=120 -E ./idstools || true
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
name: build-wheel-and-publish-test-pypi
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
types: [opened, synchronize, reopened]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
name: Build distribution
|
|
11
|
+
runs-on: ubuntu-22.04
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
with:
|
|
15
|
+
fetch-depth: 0
|
|
16
|
+
- name: Set up Python
|
|
17
|
+
uses: actions/setup-python@v5
|
|
18
|
+
with:
|
|
19
|
+
# until saxonche is available in 3.13
|
|
20
|
+
# https://saxonica.plan.io/issues/6561
|
|
21
|
+
python-version: "<3.13"
|
|
22
|
+
- name: Install pypa/build
|
|
23
|
+
run: >-
|
|
24
|
+
python3 -m pip install pip setuptools wheel build
|
|
25
|
+
- name: Build a binary wheel and a source tarball
|
|
26
|
+
run: python3 -m build .
|
|
27
|
+
- name: Store the distribution packages
|
|
28
|
+
uses: actions/upload-artifact@v4
|
|
29
|
+
with:
|
|
30
|
+
name: python-package-distributions
|
|
31
|
+
path: dist/
|
|
32
|
+
|
|
33
|
+
publish-to-pypi:
|
|
34
|
+
name: Publish imas-idstools distribution to PyPI
|
|
35
|
+
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
|
|
36
|
+
needs:
|
|
37
|
+
- build
|
|
38
|
+
runs-on: ubuntu-22.04
|
|
39
|
+
environment:
|
|
40
|
+
name: pypi
|
|
41
|
+
url: https://pypi.org/p/imas-idstools
|
|
42
|
+
permissions:
|
|
43
|
+
id-token: write # IMPORTANT: mandatory for trusted publishing
|
|
44
|
+
steps:
|
|
45
|
+
- name: Download all the dists
|
|
46
|
+
uses: actions/download-artifact@v4
|
|
47
|
+
with:
|
|
48
|
+
name: python-package-distributions
|
|
49
|
+
path: dist/
|
|
50
|
+
- name: Publish distribution to PyPI
|
|
51
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
52
|
+
|
|
53
|
+
publish-to-testpypi:
|
|
54
|
+
name: Publish imas-idstools distribution to TestPyPI
|
|
55
|
+
if: github.ref=='refs/heads/develop' # only publish to TestPyPI on develop pushes
|
|
56
|
+
needs:
|
|
57
|
+
- build
|
|
58
|
+
runs-on: ubuntu-22.04
|
|
59
|
+
environment:
|
|
60
|
+
name: testpypi
|
|
61
|
+
url: https://test.pypi.org/p/imas-idstools
|
|
62
|
+
permissions:
|
|
63
|
+
id-token: write # IMPORTANT: mandatory for trusted publishing
|
|
64
|
+
steps:
|
|
65
|
+
- name: Download all the dists
|
|
66
|
+
uses: actions/download-artifact@v4
|
|
67
|
+
with:
|
|
68
|
+
name: python-package-distributions
|
|
69
|
+
path: dist/
|
|
70
|
+
- name: Publish distribution to TestPyPI
|
|
71
|
+
uses: pypa/gh-action-pypi-publish@unstable/v1
|
|
72
|
+
with:
|
|
73
|
+
repository-url: https://test.pypi.org/legacy/
|
|
74
|
+
verbose: true
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Security Checks
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
types: [opened, synchronize, reopened]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
security:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
|
|
15
|
+
- name: Set up Python
|
|
16
|
+
uses: actions/setup-python@v4
|
|
17
|
+
with:
|
|
18
|
+
python-version: '3.11'
|
|
19
|
+
cache: 'pip'
|
|
20
|
+
|
|
21
|
+
- name: Install dependencies
|
|
22
|
+
run: |
|
|
23
|
+
python -m pip install --upgrade pip
|
|
24
|
+
pip install bandit safety
|
|
25
|
+
|
|
26
|
+
- name: Run bandit security check
|
|
27
|
+
run: |
|
|
28
|
+
bandit -r idstools --exit-zero || true
|
|
29
|
+
|
|
30
|
+
- name: Check for known vulnerabilities
|
|
31
|
+
run: |
|
|
32
|
+
pip install -e .
|
|
33
|
+
safety check --json || true
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
name: Test using pytest
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
types: [opened, synchronize, reopened]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
python-version: ["3.8","3.9", "3.10", "3.11", "3.12"] # Test on multiple Python versions
|
|
14
|
+
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout repository
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
|
|
19
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
20
|
+
|
|
21
|
+
uses: actions/setup-python@v4
|
|
22
|
+
with:
|
|
23
|
+
python-version: ${{ matrix.python-version }}
|
|
24
|
+
- name: Display Python version
|
|
25
|
+
run: python -c "import sys; print(sys.version)"
|
|
26
|
+
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: |
|
|
29
|
+
pip install --upgrade pip setuptools wheel
|
|
30
|
+
pip install .[test]
|
|
31
|
+
|
|
32
|
+
- name: Run tests
|
|
33
|
+
run: |
|
|
34
|
+
python -m pytest -n=auto --cov=idstools --cov-report=term-missing --cov-report=xml:coverage.xml --cov-report=html:htmlcov --junit-xml=junit.xml -v --tb=short 2>&1 | tee test_output.log
|
|
35
|
+
continue-on-error: true
|
|
36
|
+
env:
|
|
37
|
+
TEST_PROFILE: ci
|
|
38
|
+
|
|
39
|
+
- name: Upload coverage report ${{ matrix.python-version }}
|
|
40
|
+
uses: actions/upload-artifact@v4
|
|
41
|
+
with:
|
|
42
|
+
name: coverage-report-${{ matrix.python-version }}
|
|
43
|
+
path: htmlcov
|
|
44
|
+
if-no-files-found: warn
|
|
45
|
+
|
|
46
|
+
- name: Upload coverage XML ${{ matrix.python-version }}
|
|
47
|
+
if: always()
|
|
48
|
+
uses: actions/upload-artifact@v4
|
|
49
|
+
with:
|
|
50
|
+
name: coverage-xml-${{ matrix.python-version }}
|
|
51
|
+
path: coverage.xml
|
|
52
|
+
if-no-files-found: warn
|
|
53
|
+
|
|
54
|
+
- name: Upload test report ${{ matrix.python-version }}
|
|
55
|
+
if: always()
|
|
56
|
+
uses: actions/upload-artifact@v4
|
|
57
|
+
with:
|
|
58
|
+
name: test-report-${{ matrix.python-version }}
|
|
59
|
+
path: junit.xml
|
|
60
|
+
if-no-files-found: warn
|
|
61
|
+
|
|
62
|
+
- name: Upload test output logs ${{ matrix.python-version }}
|
|
63
|
+
if: always()
|
|
64
|
+
uses: actions/upload-artifact@v4
|
|
65
|
+
with:
|
|
66
|
+
name: test-output-${{ matrix.python-version }}
|
|
67
|
+
path: test_output.log
|
|
68
|
+
if-no-files-found: warn
|
|
69
|
+
|
|
70
|
+
- name: Publish test results ${{ matrix.python-version }}
|
|
71
|
+
if: always()
|
|
72
|
+
uses: EnricoMi/publish-unit-test-result-action@v2
|
|
73
|
+
with:
|
|
74
|
+
files: junit.xml
|
|
75
|
+
check_name: Test Results - Python ${{ matrix.python-version }}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: verify-sphinx-doc-generation
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
types: [opened, synchronize, reopened]
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build-and-test:
|
|
10
|
+
runs-on: ubuntu-22.04
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout IDStools sources
|
|
14
|
+
uses: actions/checkout@v4
|
|
15
|
+
|
|
16
|
+
- name: Set up Python
|
|
17
|
+
uses: actions/setup-python@v5
|
|
18
|
+
with:
|
|
19
|
+
# until saxonche is available in 3.13
|
|
20
|
+
# https://saxonica.plan.io/issues/6561
|
|
21
|
+
python-version: "<3.13"
|
|
22
|
+
|
|
23
|
+
- name: Display Python version
|
|
24
|
+
run: python -c "import sys; print(sys.version)"
|
|
25
|
+
|
|
26
|
+
- name: Install build dependencies
|
|
27
|
+
run: |
|
|
28
|
+
python -m pip install --upgrade pip setuptools wheel build
|
|
29
|
+
|
|
30
|
+
- name: Build package
|
|
31
|
+
run: |
|
|
32
|
+
rm -rf dist
|
|
33
|
+
python -m build .
|
|
34
|
+
|
|
35
|
+
- name: Install package and dependencies
|
|
36
|
+
run: |
|
|
37
|
+
pip install "$(readlink -f dist/*.whl)[docs]"
|
|
38
|
+
|
|
39
|
+
- name: Debug dependencies
|
|
40
|
+
run: |
|
|
41
|
+
pip freeze
|
|
42
|
+
|
|
43
|
+
- name: Build Sphinx documentation
|
|
44
|
+
run: |
|
|
45
|
+
export SPHINXOPTS='-W -n --keep-going'
|
|
46
|
+
make -C docs realclean autogen html man
|
|
47
|
+
|
|
48
|
+
- name: Upload Sphinx documentation as artifact
|
|
49
|
+
if: always()
|
|
50
|
+
uses: actions/upload-artifact@v4
|
|
51
|
+
with:
|
|
52
|
+
name: sphinx-documentation
|
|
53
|
+
path: docs/build/html/
|
|
54
|
+
retention-days: 30
|
|
55
|
+
if-no-files-found: warn
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Files and directories to exclude from Git repository
|
|
2
|
+
*~
|
|
3
|
+
*.[oa]
|
|
4
|
+
*.mod
|
|
5
|
+
*.exe
|
|
6
|
+
*.pyc
|
|
7
|
+
module/*/
|
|
8
|
+
build/
|
|
9
|
+
|
|
10
|
+
# Byte-compiled / optimized / DLL files
|
|
11
|
+
__pycache__/
|
|
12
|
+
*.py[cod]
|
|
13
|
+
*$py.class
|
|
14
|
+
|
|
15
|
+
# Distribution / packaging
|
|
16
|
+
.Python
|
|
17
|
+
build/
|
|
18
|
+
develop-eggs/
|
|
19
|
+
dist/
|
|
20
|
+
downloads/
|
|
21
|
+
eggs/
|
|
22
|
+
.eggs/
|
|
23
|
+
lib/
|
|
24
|
+
lib64/
|
|
25
|
+
parts/
|
|
26
|
+
sdist/
|
|
27
|
+
var/
|
|
28
|
+
wheels/
|
|
29
|
+
share/python-wheels/
|
|
30
|
+
*.egg-info/
|
|
31
|
+
.installed.cfg
|
|
32
|
+
*.egg
|
|
33
|
+
MANIFEST
|
|
34
|
+
idstools/_version.py
|
|
35
|
+
|
|
36
|
+
# IDE
|
|
37
|
+
.vscode/
|
|
38
|
+
|
|
39
|
+
# Test coverage and reports
|
|
40
|
+
.coverage
|
|
41
|
+
junit.xml
|
|
42
|
+
|
|
43
|
+
# Documentation
|
|
44
|
+
docs/source/autoapi/
|
|
45
|
+
|
|
46
|
+
# Extra files
|
|
47
|
+
extra/
|
|
48
|
+
myenv/
|
|
49
|
+
|
|
50
|
+
# Test data files (NetCDF files downloaded from Zenodo)
|
|
51
|
+
*.nc
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
|
|
3
|
+
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
4
|
+
rev: 24.4.2
|
|
5
|
+
hooks:
|
|
6
|
+
- id: black
|
|
7
|
+
args: ["-l", "120"]
|
|
8
|
+
# It is recommended to specify the latest version of Python
|
|
9
|
+
# supported by your project here, or alternatively use
|
|
10
|
+
# pre-commit's default_language_version, see
|
|
11
|
+
# https://pre-commit.com/#top_level-default_language_version
|
|
12
|
+
language_version: python3.11
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
|
|
3
|
+
build:
|
|
4
|
+
os: "ubuntu-22.04"
|
|
5
|
+
tools:
|
|
6
|
+
python: "3.11"
|
|
7
|
+
jobs:
|
|
8
|
+
post_checkout:
|
|
9
|
+
- git fetch --unshallow || true
|
|
10
|
+
post_install:
|
|
11
|
+
- pip install --upgrade pip
|
|
12
|
+
post_build:
|
|
13
|
+
- make -C docs realclean
|
|
14
|
+
- make -C docs autogen
|
|
15
|
+
- make -C docs man
|
|
16
|
+
|
|
17
|
+
python:
|
|
18
|
+
install:
|
|
19
|
+
- method: pip
|
|
20
|
+
path: .
|
|
21
|
+
extra_requirements:
|
|
22
|
+
- docs
|
|
23
|
+
|
|
24
|
+
sphinx:
|
|
25
|
+
builder: html
|
|
26
|
+
configuration: docs/source/conf.py
|
|
27
|
+
fail_on_warning: false
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Contributing Guidelines for IDStools
|
|
2
|
+
|
|
3
|
+
Thank you for your interest in contributing to IDStools. We welcome contributions from the fusion community to help each other. Please take a moment to review the following guidelines to ensure a smooth and productive collaboration.
|
|
4
|
+
|
|
5
|
+
## Getting Started
|
|
6
|
+
|
|
7
|
+
### Code of Conduct
|
|
8
|
+
Please read and adhere to ITER Code of Conduct. We expect all contributors to create a welcoming and inclusive community.
|
|
9
|
+
|
|
10
|
+
### Prerequisites
|
|
11
|
+
Before you start, ensure you have met the following requirements:
|
|
12
|
+
- Python 3.8+ is installed and available
|
|
13
|
+
- IMAS-Core module is loaded (Optional)
|
|
14
|
+
|
|
15
|
+
### Clone the repository
|
|
16
|
+
Clone the repository to your local machine:
|
|
17
|
+
```bash
|
|
18
|
+
git clone https://github.com/iter-organization/IDStools.git
|
|
19
|
+
cd IDStools
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Making Contributions
|
|
23
|
+
### Branching
|
|
24
|
+
Create a new branch for each contribution. Use a descriptive name for the branch.
|
|
25
|
+
To create a new branch and switch to it:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
git checkout -b feature/your-feature-name
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Coding Guidelines
|
|
32
|
+
- Follow the coding style and conventions used in the project
|
|
33
|
+
- Follow SOLID principles while coding ([read more](https://www.freecodecamp.org/news/solid-principles-explained-in-plain-english/))
|
|
34
|
+
|
|
35
|
+
#### Code Organization
|
|
36
|
+
- Code is organized in three main packages: `compute`, `view`, and `domain`
|
|
37
|
+
- All calculation operations on IDS to get meaningful data are added to `compute`
|
|
38
|
+
- There is a distinct module in the `compute` and `view` packages for every IDS
|
|
39
|
+
- Each `Compute` class receives respective IDS object to operate on
|
|
40
|
+
- `domain` package is used when you have operations on 2 or more IDSs and need to return the result
|
|
41
|
+
|
|
42
|
+
#### Functions
|
|
43
|
+
- Define clear and meaningful function names (e.g., `getBResonance`, `getActivePfCoils`)
|
|
44
|
+
- Write functions to be generalized and reusable by other code
|
|
45
|
+
- Follow the `single responsibility principle` when writing functions
|
|
46
|
+
- Type hints for parameters and return types are mandatory
|
|
47
|
+
- Docstrings with examples are helpful for others to understand what the code does
|
|
48
|
+
|
|
49
|
+
#### Variable Naming
|
|
50
|
+
- Define clear and meaningful variable names (e.g., `b_total`, `profile_2d_index`)
|
|
51
|
+
- Use PascalCase for class names
|
|
52
|
+
- Use snake_case for variables and function names (following Python conventions)
|
|
53
|
+
|
|
54
|
+
### Script Naming Conventions
|
|
55
|
+
- Visualization scripts (console print or plots) start with `plot` prefix (e.g., `plotequilibrium`)
|
|
56
|
+
- IDS-related operations like copy, performance, size are prefixed with `ids` (e.g., `idscp`, `idsresample`)
|
|
57
|
+
- Database-related operations are prefixed with `db` (e.g., `dblist`)
|
|
58
|
+
|
|
59
|
+
#### Code Formatting
|
|
60
|
+
We use the [Black formatter](https://black.readthedocs.io/en/stable/) for consistent code formatting.
|
|
61
|
+
|
|
62
|
+
To format your code:
|
|
63
|
+
```bash
|
|
64
|
+
black -l 120 idstools
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Append formatting-related commits to the `.git-blame-ignore-revs` file in the root of the repository.
|
|
68
|
+
|
|
69
|
+
Configure git to ignore formatting-related commits:
|
|
70
|
+
```bash
|
|
71
|
+
git config blame.ignoreRevsFile .git-blame-ignore-revs
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
#### Pre-commit Hooks
|
|
75
|
+
Pre-commit hooks are used in the repository. To configure them:
|
|
76
|
+
|
|
77
|
+
1. Ensure pre-commit is installed:
|
|
78
|
+
```bash
|
|
79
|
+
pip install pre-commit
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
2. Install the hooks:
|
|
83
|
+
```bash
|
|
84
|
+
pre-commit install
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
More information:
|
|
88
|
+
- [Black integrations](https://black.readthedocs.io/en/stable/integrations/source_version_control.html)
|
|
89
|
+
- [Pre-commit](https://pre-commit.com/#install)
|
|
90
|
+
|
|
91
|
+
#### Type Checking
|
|
92
|
+
Type checking is important to avoid runtime errors. Use [mypy](https://mypy.readthedocs.io/en/stable/getting_started.html) for static type checking:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
pip install mypy
|
|
96
|
+
mypy idstools
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### Testing
|
|
101
|
+
- Ensure your changes do not break existing functionality
|
|
102
|
+
- Write tests for new features or bug fixes, if applicable
|
|
103
|
+
- Run the project's test suite before submitting a pull request
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
pytest tests/
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Commit Messages
|
|
110
|
+
Write clear and concise commit messages that describe the purpose of your changes.
|
|
111
|
+
Use the present tense (`Add feature` not `Added feature`).
|
|
112
|
+
Reference issue numbers (e.g., `Fix IMAS-XXXX`) if relevant.
|
|
113
|
+
|
|
114
|
+
### Submitting Changes
|
|
115
|
+
#### Pull Request Guidelines
|
|
116
|
+
1. Create a pull request from your feature branch
|
|
117
|
+
2. Provide a clear description of the changes and why they are necessary
|
|
118
|
+
3. Reference any related issues
|
|
119
|
+
4. Engage in discussions and address feedback promptly
|
|
120
|
+
|
|
121
|
+
#### Code Review
|
|
122
|
+
- Be open to feedback and make necessary changes
|
|
123
|
+
- Respond to review comments in a timely manner
|
|
124
|
+
- Update your branch if requested
|
|
125
|
+
|
|
126
|
+
## Community
|
|
127
|
+
|
|
128
|
+
### Code of Conduct
|
|
129
|
+
ITER has a Code of Conduct to maintain a respectful and inclusive community. Please follow it in all interactions.
|
|
130
|
+
|
|
131
|
+
### Issue Tracking
|
|
132
|
+
- Check the issue tracker for open issues that need attention
|
|
133
|
+
- Create issues to report bugs or suggest enhancements
|
|
134
|
+
- Use appropriate labels and provide detailed descriptions
|
|
135
|
+
|
|
136
|
+
## Discussion
|
|
137
|
+
Join our community discussions to engage with other contributors:
|
|
138
|
+
- Participate in project-related discussions
|
|
139
|
+
- Share your insights and expertise
|
|
140
|
+
- Ask questions and help others
|
|
141
|
+
|
|
142
|
+
## Acknowledgment
|
|
143
|
+
Thank you for your contributions to the IDStools project! Your involvement helps advance fusion research and supports the broader scientific community.
|