Skip to content

Update deprecated loadData usage before diffpy 4.0 removal #138

Description

@AndrewSazonov

easyscience/diffraction-lib/src/easydiffraction/datablocks/experiment/item/total_pd.py:74: DeprecationWarning: 'diffpy.utils.parsers.loaddata.loadData' is deprecated and will be removed in version 4.0.0. Please use 'diffpy.utils.parsers.load_data' instead.
data = loadData(data_path)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Activity

  1. easyscience commented on Apr 1, 2026

    @easyscience
    Contributor

    Added default label [scope] ⚠️ label needed. Please consider re-labeling this issue appropriately.

  2. easyscience commented on Apr 1, 2026

    @easyscience
    Contributor

    Added default label [priority] ⚠️ label needed. Please consider re-labeling this issue appropriately.

  3. deleted a comment from easyscience on Apr 1, 2026
  4. deleted a comment from easyscience on Apr 1, 2026
  5. deleted a comment from easyscience on Apr 1, 2026
  6. deleted a comment from easyscience on Apr 1, 2026
  7. deleted a comment from easyscience on Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [priority] ⚠️ label neededAutomatically added to issues without a [priority] label[scope] ⚠️ label neededAutomatically added to issues and PRs without a [scope] label

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions