Skip to content

add a copy method to diffraction objects #201

Closed
@sbillinge

Description

@sbillinge

Problem

That would be nice. Something like

def copy(self):
    return DiffractionObject(**self.everything)

where teat this as pseudocode....it is supposed to show intent, not how it would actually be coded.

usage would be that a test like this would pass:

copy_of_DO = DO.copy()
assert copy_of_DO == DO

Proposed solution

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions