Skip to content

Commit a30d789

Browse files
committed
[Section] Add 'props' alias for 'properties'
Closes #299
1 parent 3fa645c commit a30d789

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

odml/section.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,12 @@ def properties(self):
236236
""" The list of all properties contained in this section """
237237
return self._props
238238

239+
@property
240+
def props(self):
241+
""" The list of all properties contained in this section;
242+
NIXpy format style alias for 'properties'."""
243+
return self._props
244+
239245
@property
240246
def sections(self):
241247
""" The list of all child-sections of this section """

0 commit comments

Comments
 (0)