Skip to content

chore: check the examples for uses of the setScatteringFactorTableByType method and update them #95

@zmx27

Description

@zmx27

Problem

As in diffpy/diffpy.srreal#21, the setScatteringFactorTableByType method has been deprecated.

Proposed solution

Check the examples in this directory to see if this method is used anywhere. If it is, update the uses by replacing a call to setScatteringFactorTableByType with the new API. For example, use something like

obj.scatteringfactortable = SFTNeutron()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions