davinci script - adding create_options_template command
Loading
Improving the davinci
script with two new features:
-i
instead of --inputfiledb
)create_option_templates
for creating a template of the two options files that are usually used in a DaVinci job:
./run davinci create-options-template job -f test_jobopt_template.yaml
(for the joboptfile)./run davinci create-options-template data -f test_inputdb_template.yaml -k key_template
(for the inputfiledb)The new command allows also to fill the template interactively (via the -i
argument) asking the user to insert the value for each option.
In addition, some unit tests are added to verify the correct behavior of the new features.
Addresses #27 (closed).
Work on DPA task https://gitlab.cern.ch/lhcb-dpa/project/-/issues/180.