[yt-dev] Issue #580: In LightRay, halo list is missing "center" when getting straight from halo profiler. (yt_analysis/yt)
Britton Smith
issues-reply at bitbucket.org
Sun May 26 07:06:15 PDT 2013
New issue 580: In LightRay, halo list is missing "center" when getting straight from halo profiler.
https://bitbucket.org/yt_analysis/yt/issue/580/in-lightray-halo-list-is-missing-center
Britton Smith:
When loading the halo list straight from the halo profiler in the light ray tool, it appears to be missing the halo centers. The error looks like this:
Traceback (most recent call last):
File "../analysis/make_light_ray_0.1_Lstar.py", line 120, in <module>
njobs=-1)
File "/nics/a/proj/cosmo/local-britton/nautilus/src/yt-britton/yt/analysis_modules/cosmological_observation/light_ray/light_ray.py", line 409, in make_light_ray
**halo_profiler_parameters)
File "/nics/a/proj/cosmo/local-britton/nautilus/src/yt-britton/yt/analysis_modules/cosmological_observation/light_ray/light_ray.py", line 469, in _get_halo_list
halo_list=halo_list)
File "/nics/a/proj/cosmo/local-britton/nautilus/src/yt-britton/yt/analysis_modules/cosmological_observation/light_ray/light_ray.py", line 502, in _halo_profiler_list
return_list[field].append(halo[field])
KeyError: 'center'
Responsible: brittonsmith
More information about the yt-dev
mailing list