Skip to content

adding same reflection should be ignored #248

@prjemian

Description

@prjemian

When a user creates a file that is reloaded many times, such as during development, it can lead to the same reflections being added multiple times. We should handle this case more gracefully than to simply accumulate additional reflections.

Example:

  • fourc = Fourc(...
  • select_diffractometer(fourc)
  • new_sample(...
  • add_reflection(1,1,2, ...
  • add_reflection(-4,0,2, ...

These would be in a example.py file that is reloaded with %run -i example.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions