desc.io.InputReader.write_desc_input

static InputReader.write_desc_input(filename, inputs, header='')[source]

Generate a DESC input file from a dictionary of parameters.

Parameters:
  • filename (str or path-like) – name of the file to create

  • inputs (dict or list of dict) – dictionary of input parameters

  • header (str) – text to print at the top of the file