Repository navigation
Expose wall_match in the from-vmec-to-wall chartmap CLI - #540
Merged
Merged
Conversation
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.
write_chartmap_from_vmec_to_walltakeswall_match("vmec_derivative"or"poloidal_normal"), butwrite_chartmap_from_vmec_and_stland thefrom-vmec-to-wallsubcommand of the chartmap CLI do not pass it on, so charts built from an STL wall always use"vmec_derivative"(chartmap.py#L1039-L1049). For a diverted equilibrium, thewrite_chartmap_from_vmec_and_stlgainswall_match, and the CLI gains--wall-match(chartmap_cli.py#L113-L118). The default is unchanged.A new test in
test_chartmap_vmec_to_wall.pyruns the CLI with a stubbed STL slice and checks the value that reacheswrite_chartmap_from_vmec_to_wall. Without this change, argparse rejects the option.Chris&AI