Skip to content

Update deprecated loadData usage before diffpy 4.0 removal #136

@AndrewSazonov

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

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