Skip to content

Deprecate spheroidalCF2 and shellCF2 in characteristicfunctions.py #185

Closed

Description

@Sparks29032

The functions shellCF and spheroidalCF are just wrappers for shellCF2 and spheroidalCF2 respectively. Can we deprecate of of each to prevent confusion? Users reading the docs may be confused by the presence of both and not know which to use (even though they are functionally equivalent).

When deprecating, please be very careful to check across all diffpy packages where each function is being used and make those changes accordingly alongside the deprecation.

Activity

  1. added this to the 3.4.0 milestone on Aug 3, 2026
  2. cadenmyers13 commented on Aug 14, 2026

    @cadenmyers13
    Contributor

    @sbillinge This can be closed as complete

  3. sbillinge commented on Aug 14, 2026

    @sbillinge
    Contributor

    @cadenmyers13 @Sparks29032 Please double check. This was not to deprecate camelCase but the point of this was that there were two versions of the same function that took different inputs but did the same job. We deemed that this was confusing to users and making a single function that could handle either kinds of inputs would be better.

  4. cadenmyers13 commented on Aug 14, 2026

    @cadenmyers13
    Contributor

    @sbillinge they have been reduced down to one function. The camel case CF and CF2 variants point to a single snake case function now

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions