From b88cd5691484a7075c5464519d53005adca2610d Mon Sep 17 00:00:00 2001 From: Sarath Date: Tue, 6 Aug 2024 17:26:18 +0200 Subject: [PATCH] put back methods --- atomrdf/structure.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/atomrdf/structure.py b/atomrdf/structure.py index 05d29f8..d9ae5d0 100644 --- a/atomrdf/structure.py +++ b/atomrdf/structure.py @@ -814,6 +814,10 @@ def __init__( mapdict = {} mapdict["repeat"] = self.repeat mapdict["delete"] = self.delete + mapdict["transform_to_cubic_cell"] = update_wrapper(partial(operations.extract_cubic_representation, self), operations.extract_cubic_representation) + mapdict["remap_to_box"] = update_wrapper(partial(operations.remap_to_box, self), operations.remap_to_box) + mapdict["remap_position_to_box"] = update_wrapper(partial(operations.remap_position_to_box, self), operations.remap_position_to_box) + mapdict["embed_in_cubic_box"] = update_wrapper(partial(operations.embed_in_cubic_box, self), operations.embed_in_cubic_box) self.modify._add_attribute(mapdict) self.schema = AttrSetter()