Skip to content

Expose EFIT tree and time base to cli settings#419

Merged
gtrevisan merged 1 commit intodevfrom
more-cli-settings
Mar 20, 2025
Merged

Expose EFIT tree and time base to cli settings#419
gtrevisan merged 1 commit intodevfrom
more-cli-settings

Conversation

@gtrevisan
Copy link
Copy Markdown
Member

allow tweaking more settings from the command-line interface:

  • nickname of efit tree
  • time base setting

new:

poetry run disruption-workflow -h

usage: disruption-workflow [-h] [-t TOKAMAK] [-s SHOTS] [-m METHODS] [-e EFIT_TREE] [-b TIME_BASE] [-p PROCESSES] [-l LOG_LEVEL]

options:
  -h, --help            show this help message and exit
  -t TOKAMAK, --tokamak TOKAMAK
  -s SHOTS, --shots SHOTS
  -m METHODS, --methods METHODS
  -e EFIT_TREE, --efit-tree EFIT_TREE
  -b TIME_BASE, --time-base TIME_BASE
  -p PROCESSES, --processes PROCESSES
  -l LOG_LEVEL, --log-level LOG_LEVEL

e.g.:

poetry run disruption-workflow -e analysis
poetry run disruption-workflow -b efit

@gtrevisan gtrevisan requested review from andrew-maris, hwietfeldt and yumouwei and removed request for andrew-maris, hwietfeldt and yumouwei March 18, 2025 14:07
@gtrevisan gtrevisan merged commit ec31513 into dev Mar 20, 2025
11 checks passed
@gtrevisan gtrevisan deleted the more-cli-settings branch March 20, 2025 15:07
@gtrevisan gtrevisan mentioned this pull request Mar 20, 2025
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.

2 participants