You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run AbacusHOD on the new "DESI2" simulation that Lehman has generated (Abacus_DESI2_c000_ph300). During construction of the AbacusHOD object it throws a missing key error:
newBall = AbacusHOD(sim_params,HOD_params,clustering_params)
File "/global/homes/m/mwhite/.conda/envs/abacus/lib/python3.9/site-packages/abacusnbody/hod/abacus_hod.py", line 153, in init
np.vstack((np.log10(self.halo_data['hmass']), self.halo_data['hdeltac'], self.halo_data['hfenv']))
.T,
KeyError: 'hdeltac'
A quick scan of the source code suggests that setting want_AB = True (assembly bias) in the HOD_params might fix this, but it seems like a bug if it crashes with this off.
I'm trying to run AbacusHOD on the new "DESI2" simulation that Lehman has generated (Abacus_DESI2_c000_ph300). During construction of the AbacusHOD object it throws a missing key error:
newBall = AbacusHOD(sim_params,HOD_params,clustering_params)
File "/global/homes/m/mwhite/.conda/envs/abacus/lib/python3.9/site-packages/abacusnbody/hod/abacus_hod.py", line 153, in init
np.vstack((np.log10(self.halo_data['hmass']), self.halo_data['hdeltac'], self.halo_data['hfenv']))
.T,
KeyError: 'hdeltac'
where
sim_params: {'sim_name': 'Abacus_DESI2_c000_ph300', 'sim_dir': '/global/cfs/cdirs/desi/cosmosim/Abacus/', 'output_dir': './', 'subsample_dir': './', 'z_mock': 2.5, 'cleaned_halos': True}
The text was updated successfully, but these errors were encountered: