Skip to content

Make and test methods for ITER DT cases#90

Draft
anu1217 wants to merge 2 commits into
svalinn:mainfrom
anu1217:make_example_cases
Draft

Make and test methods for ITER DT cases#90
anu1217 wants to merge 2 commits into
svalinn:mainfrom
anu1217:make_example_cases

Conversation

@anu1217
Copy link
Copy Markdown
Contributor

@anu1217 anu1217 commented May 8, 2026

example_case_reader.py makes methods that are designed to function specifically with the data structure of the test cases given in the YAML. These methods take advantage of the test cases being grouped by pulse numbers, duty cycles, and these values being found in the run label.

test_example_case_reader.py runs the methods in the main script using a YAML file that contains the names and paths to the test cases. There are two testing functions written to check that the main script functions as expected.

The YAML file was deleted in #75 and added here with information needed to run the scripts. Notably, the flux file and number of energy bins no longer exist in the YAML as there are currently no tests that require this information. Nevertheless, the ability to parse and extract information from flux files still exists in script_template.py.

@anu1217 anu1217 marked this pull request as draft May 20, 2026 18:52
@anu1217
Copy link
Copy Markdown
Contributor Author

anu1217 commented May 20, 2026

Moving to draft since this PR may not be necessary, or it may be superseded by a different set of parameters used to characterize the cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant