docs: def write_out_config(self, config_file):
          """
          Write out the configuration file
  
          :param config_file:
          :return:
  
          Note: this will erase all comments from the config file
  
          """
          with open(config_file, 'w') as f:
              json.dump(self.params, f, indent=2,
                        separators=(',', ': '))