Fix bug and add sanity checks in cli.write_scenario_variants
Fix bug and add sanity checks in cli.write_scenario_variants

nismod/smif,tomalrussell/smif,nismod/smif,nismod/smif,tomalrussell/smif,tomalrussell/smif,tomalrussell/smif,nismod/smif