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
"""Iterate through all objects of specified type, providing named pre-computed data.
This is normally data that was calculated and stored by the halo finder such as masses or particle counts.
Each object yields an array with the finder_id followed by values for the requested properties.
:arg ts_extension - the timestep path (relative to the simulation basename)
:arg object_typetag - the type of halo catalogue (e.g. 'halo' or 'group')
:arg property_names - a list of property names to retrieve (depends on catalogue file format)
"""
has changed behaviour, requiring yielding first finder_offset, second finder_id and then the array of properties to be imported.
Documentation has been updated in #178, but all pynbody handlers might not have been retro-fitted with the new behaviour. E.g., GadgetSubfindInputHandler could be missing one halo property during imports
where all_data should have an additional finder_id inserted before the property enumeration starts.
The text was updated successfully, but these errors were encountered:
Martin-Rey
changed the title
Importing properties from old pynbody handlers might be broken
Importing properties from old pynbody handlers might be incomplete
Apr 19, 2022
Since PR #88, importing properties precomputed by halo finders through
tangos/tangos/input_handlers/__init__.py
Lines 101 to 110 in f887de1
has changed behaviour, requiring yielding first
finder_offset
, secondfinder_id
and then the array of properties to be imported.Documentation has been updated in #178, but all pynbody handlers might not have been retro-fitted with the new behaviour. E.g.,
GadgetSubfindInputHandler
could be missing one halo property during importstangos/tangos/input_handlers/pynbody.py
Lines 400 to 403 in f887de1
where
all_data
should have an additionalfinder_id
inserted before the property enumeration starts.The text was updated successfully, but these errors were encountered: