FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

deprecate: Add deprecation warning for `diffpy.Structure` by cadenmyers13 · Pull Request #149 · diffpy/diffpy.structure · GitHub

Repository navigation

deprecate: Add deprecation warning for diffpy.Structure - #149

Merged
sbillinge merged 5 commits into
diffpy:mainfrom
cadenmyers13:dep-warning1
Nov 25, 2025
Merged

sbillinge merged 5 commits into
diffpy:mainfrom
cadenmyers13:dep-warning1

Conversation

Copy link
Copy Markdown
Contributor

See screenshot for deprecation warning. Had to do a custom one here for this specific deprecation

codecov Bot commented Nov 21, 2025 •
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.93%. Comparing base (2316eaa) to head (3c462a7).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #149   +/-   ##
=======================================
  Coverage   98.93%   98.93%           
=======================================
  Files          13       13           
  Lines        1878     1878           
=======================================
  Hits         1858     1858           
  Misses         20       20           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/diffpy/structure/__init__.py Outdated
import warnings

warnings.warn(
"Module 'diffpy.Structure' is deprecated. Use 'diffpy.structure' instead.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Is deprecated and will be removed in version 3.8. Use 'diffpy.structure' instead

Copy link
Copy Markdown
Contributor Author

@sbillinge ready for review

sbillinge merged commit 730a91e into diffpy:main Nov 25, 2025
5 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL