Generate output file names using a template string (#828)
Generate output file names using a template string (#828)

Call examples with a set of 12 combined experiments:

dials.split_experiments
  "output.template=\"some_{prefix}_{index:0{maxindexlength}d}_suffix.{extension}\""

results in
  some_experiments_01_suffix.expt
  ..
  some_reflections_12_suffix.refl

dials.split_experiments
  "output.template=\"fixed_{index:05d}.{extension}\""

results in
  fixed_00000.expt
  ..
  fixed_00012.refl
dials/dials,dials/dials,dials/dials,dials/dials,dials/dials