Skip to content

Commit a491d0b

Browse files
committed
add property constructor
1 parent afc1b9c commit a491d0b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/diffpy/clusterrender/structuredf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ class StructureDF(pd.DataFrame):
3232
Index of the central atom in the structure.
3333
"""
3434

35+
@property
36+
def _constructor(self):
37+
return StructureDF
38+
3539
def __init__(
3640
self, *args, structure=None, site_index=None, filename=None, **kwargs
3741
):

0 commit comments

Comments
 (0)