Skip to content
Snippets Groups Projects

Add support dumping and loading from JSON/YAML in gaudirun.py

Merged Marco Clemencic requested to merge 200-add-json-options-dump into master

this MR adds the possibility of dumping a configuration as .json and .yaml via the gaudirun.py --output option (same as with .opts, .pkl and .py formats).

The generated JSON/YAML files can then be used as input to the configuration, same as .opts or .pkl files (.py dumps cannot be used to configure the application).

The support for .yaml (or .yml) dumps is available only if the Python package PyYAML is available.

Closes #200 (closed)

Merge request reports

Pipeline #3122480 passed

Pipeline passed for afde4c14 on 200-add-json-options-dump

Approval is optional

Merged by Marco ClemencicMarco Clemencic 3 years ago (Oct 15, 2021 2:08pm UTC)

Merge details

Pipeline #3130237 passed

Pipeline passed for 78e88540 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading