Skip to content

Fix scikit-image deprecation warning #877

@psavery

Description

@psavery

Describe the bug

As described below:

/home/patrick/virtualenvs/hexrd/src/hexrd/hexrd/core/instrument/hedm_instrument.py:1839: FutureWarning: `RegionProperties.weighted_centroid` is deprecated starting in version 0.26 and will be removed in version 2.0. Use `RegionProperties.centroid_weighted` instead. 

Impact

Will eventually cause someone a problem

Reproduction

Run fit-grains with the latest scikit-image

Version

Affected Workflows

  • core
  • EDD
  • HEDM
  • Powder
  • Laue

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