Hi, I had the following error in python:

ValueError                                Traceback (most recent call last)
Cell In[14], line 20
     18 seed=132358712
     19 #seed=None
---> 20 model_instance.populate_mock(halo_catalogA, seed=seed)

File ~/opt/anaconda3/envs/halo/lib/python3.11/site-packages/halotools/empirical_models/factories/hod_model_factory.py:1209, in HodModelFactory.populate_mock(self, halocat, **kwargs)
   1090 def populate_mock(self, halocat, **kwargs):
   1091     """
   1092     Method used to populate a simulation
   1093     with a Monte Carlo realization of a model.
   (...)
   1207 
   1208     """
-> 1209     ModelFactory.populate_mock(self, halocat, **kwargs)

File ~/opt/anaconda3/envs/halo/lib/python3.11/site-packages/halotools/empirical_models/factories/model_factory_template.py:244, in ModelFactory.populate_mock(self, halocat, Num_ptcl_requirement, **kwargs)
    242 except KeyError:
    243     pass
--> 244 self.mock = self.mock_factory(**mock_factory_init_args)
    246 additional_potential_kwargs = (
    247     "masking_function",
    248     "_testing_mode",
    249     "enforce_PBC",
    250     "seed",
    251 )
    252 mockpop_keys = set(additional_potential_kwargs) & set(kwargs)

File ~/opt/anaconda3/envs/halo/lib/python3.11/site-packages/halotools/empirical_models/factories/hod_mock_factory.py:101, in HodMockFactory.__init__(self, Num_ptcl_requirement, halo_mass_column_key, **kwargs)
     98 self.Num_ptcl_requirement = Num_ptcl_requirement
     99 self.halo_mass_column_key = halo_mass_column_key
--> 101 self.preprocess_halo_catalog(halocat)

File ~/opt/anaconda3/envs/halo/lib/python3.11/site-packages/halotools/empirical_models/factories/hod_mock_factory.py:172, in HodMockFactory.preprocess_halo_catalog(self, halocat)
    170 try:
    171     f = getattr(component_model, "preprocess_subhalo_table")
--> 172     halo_table, self.subhalo_table = f(halo_table, subhalo_table)
    173 except AttributeError:
    174     pass

File ~/opt/anaconda3/envs/halo/lib/python3.11/site-packages/halotools/empirical_models/phase_space_models/subhalo_based_models/subhalo_phase_space.py:274, in SubhaloPhaseSpace.preprocess_subhalo_table(self, host_halo_table, subhalo_table)
    236 def preprocess_subhalo_table(self, host_halo_table, subhalo_table):
    237     """ Method makes cuts and organizes the memory layout of the input
    238     ``subhalo_table`` and ``host_halo_table``.
    239 
   (...)
    272     and are thrown out to make bookkeeping simpler.
    273     """
--> 274     host_halo_table.sort(self.binning_key)
    275     host_halo_table['_subhalo_inheritance_id'] = np.arange(len(host_halo_table))
    277     idxA, idxB = crossmatch(subhalo_table['halo_hostid'].data,
    278         host_halo_table['halo_id'].data)

File ~/opt/anaconda3/envs/halo/lib/python3.11/site-packages/astropy/table/table.py:3517, in Table.sort(self, keys, kind, reverse)
   3514 if isinstance(keys, str):
   3515     keys = [keys]
-> 3517 indexes = self.argsort(keys, kind=kind, reverse=reverse)
   3519 with self.index_mode("freeze"):
   3520     for name, col in self.columns.items():
   3521         # Make a new sorted column.  This requires that take() also copies
   3522         # relevant info attributes for mixin columns.

File ~/opt/anaconda3/envs/halo/lib/python3.11/site-packages/astropy/table/table.py:3429, in Table.argsort(self, keys, kind, reverse)
   3427 # use index sorted order if possible
   3428 if keys is not None:
-> 3429     index = get_index(self, names=keys)
   3430     if index is not None:
   3431         idx = np.asarray(index.sorted_data())

File ~/opt/anaconda3/envs/halo/lib/python3.11/site-packages/astropy/table/index.py:650, in get_index(table, table_copy, names)
    647     names = set(table_copy.colnames)
    649 if not names <= set(table.colnames):
--> 650     raise ValueError(f"{names} is not a subset of table columns")
    652 for name in names:
    653     for index in table[name].info.indices:

ValueError: {'halo_mvir_host_halo'} is not a subset of table columns

What happened and how do I fix it?