code: def organize(**kwargs):
      
  
      # do argument wrangling  before turning it into an obect
      # since namedtuples are immutable
      if len(kwargs['adsorbates']) == 0:
          print("""Warning: no adsorbates specified,
          can't pick up reaction reaction energies.""")
          print("         Enter adsorbates like so --adsorbates CO,O,CO2")
          print("         [Comma-separated list without spaces.]")
      kwargs['adsorbates'] = list(map(
          lambda x: (''.join(sorted(string2symbols(x)))),
          kwargs['adsorbates'].split(','),
      ))
      if kwargs['energy_corrections']:
          e_c_dict = {}
          for e_c in kwargs['energy_corrections'].split(','):
              key, value = e_c.split('=')
              e_c_dict.update({key: float(value)})
          kwargs['energy_corrections'] = e_c_dict
  
      options = collections.namedtuple(
          'options',
          kwargs.keys()
      )(**kwargs)
      _organize.main(options=options)
docs: Read reactions from non-organized folder