Skip to content

YAML Input Script Capability#457

Open
Shockblack wants to merge 8 commits intodsavransky:masterfrom
Shockblack:yaml_input
Open

YAML Input Script Capability#457
Shockblack wants to merge 8 commits intodsavransky:masterfrom
Shockblack:yaml_input

Conversation

@Shockblack
Copy link

@Shockblack Shockblack commented Feb 5, 2026

Describe your changes

Added YAML Ain't Markdown Language (YAML) input specification file support in both EXOSIMS.MissionSim and EXOSIMS.Prototypes.SurveySimulation modules. Checks for the input file extension are added for both JSON (.json) and YAML (.yml and .yaml).

Three new sample scripts are introduced: sampleScript_coron.yaml, test-scripts/simplest.yaml, and test-scripts/simplest-error.yaml. sampleScript_coron.yaml is a YAML version of the quickstart script sampleScript_coron.json in the documentation, while the other two are used to test the MissionSim.py I/O for YAML files.

tests/test_MissionSim.py has been modified to test YAML files as input as well. The script name for the JSON files has also been adjusted for clarity.

Type of change

  • New feature (non-breaking change which adds functionality)

Reference any relevant issues (don't forget the #)

#455 - Add YAML Input Capability

Checklist before requesting a review

  • I have verified that all unit tests pass in a clean virtual environment and added new unit tests, as needed
  • I have run e2eTests and added new test scripts, as needed
  • I have verified that all docstrings are properly formatted and added new documentation, as needed

@Shockblack Shockblack marked this pull request as ready for review February 5, 2026 20:48
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