Skip to content

fix: match cf names to srfit 3.4.0 - #16

Merged
sbillinge merged 2 commits into
diffpy:mainfrom
cadenmyers13:cf-names-match-srfit
Oct 27, 2026
Merged

sbillinge merged 2 commits into
diffpy:mainfrom
cadenmyers13:cf-names-match-srfit

Conversation

@cadenmyers13

Copy link
Copy Markdown
Contributor

This is coupled to this srfit PR: diffpy/diffpy.srfit#238

cadenmyers13 and others added 2 commits October 26, 2026 17:25
srfit 3.4.0 deprecated lognormalSphericalCF and shellCF in favor of
lognormal_spherical_particle and shell_particle. Using different names in
cmipdf would make users who already moved to the 3.4.0 names rename a
second time. Rename lognormal_spherical_distribution and spherical_shell
in characteristicfunctions.py so every characteristic function name and
argument matches srfit 3.4.0, and correct the unreleased fix-cfs news.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The fix-cfs news item, which is not released yet, already covers the
characteristic function changes and now lists the srfit 3.4.0 names, so
this PR needs no separate entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cadenmyers13

Copy link
Copy Markdown
Contributor Author

@sbillinge ready for review

@codecov

codecov Bot commented Oct 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.21%. Comparing base (2b2ef8a) to head (4fe83af).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   96.21%   96.21%           
=======================================
  Files           6        6           
  Lines         264      264           
=======================================
  Hits          254      254           
  Misses         10       10           
Files with missing lines Coverage Δ
tests/test_characteristicfunctions.py 98.11% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sbillinge
sbillinge merged commit 75106e1 into diffpy:main Oct 27, 2026
6 checks passed
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