Skip to content

Commit

Permalink
Fix missing 'child' property name
Browse files Browse the repository at this point in the history
  • Loading branch information
apontzen committed Mar 16, 2024
1 parent 661b043 commit d47b50c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tangos/input_handlers/pynbody.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ def available_object_property_names_for_timestep(self, ts_extension, object_type
properties[i] = new_p
if p in self._sub_parent_names:
properties[i] = 'parent'
if p == 'children':
properties[i] = 'child'

properties = [p for p in properties if p not in self._hidden_properties]
return properties
Expand Down

0 comments on commit d47b50c

Please sign in to comment.