      def expand_helptext(helptext, choices, default, datatype, min_max, fixed):
          """ Add extra helptext info from parameters """
          helptext += "\n"
          if not fixed:
              helptext += "\nThis option can be updated for existing models."
          if choices:
              helptext += "\nChoose from: {}".format(choices)
          elif datatype == bool:
              helptext += "\nChoose from: True, False"
          elif datatype == int:
 
</s> remove         helptext = '# {}'.format(helptext.replace("\n", "\n# "))
 </s> add         formatted = ""
        for hlp in helptext.split("\n"):
            subsequent_indent = "\t\t" if hlp.startswith("\t") else ""
            hlp = f"\t- {hlp[1:].strip()}" if hlp.startswith("\t") else hlp
            formatted += textwrap.fill(hlp,
                                       100,
                                       tabsize=4,
                                       subsequent_indent=subsequent_indent) + "\n"
        helptext = '# {}'.format(formatted[:-1].replace("\n", "\n# "))  # Strip last newline </s> remove         """ Return a config item in it's correct format """
 </s> add         """ Return a config item in it's correct format.

        Parameters
        ----------
        section: str
            The configuration section currently being processed
        option: str
            The configuration option currently being processed

        Returns
        -------
        varies
            The selected configuration option in the correct data format
        """
            helptext += "\nThis option can be updated for existing models.\n"
        if datatype == list:
            helptext += ("\nIf selecting multiple options then each option should be separated "
                         "by a space or a comma (e.g. item1, item2, item3)\n")
      def expand_helptext(helptext, choices, default, datatype, min_max, fixed):
          """ Add extra helptext info from parameters """
          helptext += "\n"
          if not fixed:
            helptext += "\nThis option can be updated for existing models.\n"
        if datatype == list:
            helptext += ("\nIf selecting multiple options then each option should be separated "
                         "by a space or a comma (e.g. item1, item2, item3)\n")
          if choices:
              helptext += "\nChoose from: {}".format(choices)
          elif datatype == bool:
              helptext += "\nChoose from: True, False"
          elif datatype == int:
keep keep keep keep replace keep keep keep keep keep
 scripts.train - Add freeze weights option
lib.config:
  - Better formatting for .ini files
  - Support multi-select options
gui - Add support for multi-select config items 
lib/config.py