Skip to content

Deprecate ParametricExpressionSpec in favor of TemplateExpressionSpec#920

Merged
MilesCranmer merged 11 commits into
masterfrom
deprecate-parametric-expression
May 18, 2025
Merged

Deprecate ParametricExpressionSpec in favor of TemplateExpressionSpec#920
MilesCranmer merged 11 commits into
masterfrom
deprecate-parametric-expression

Conversation

@MilesCranmer

Copy link
Copy Markdown
Owner

This tries to give a helpful warning message to the user for how to upgrade to template expressions.

Suggested by @gm89uk as he found the performance was much better. So there's not much of a point in having a separate class anymore when template expressions are just better.

Care to take a look at the PR and let me know what you think?

@gm89uk

gm89uk commented May 14, 2025

Copy link
Copy Markdown

Thanks Miles. Apologies, my entire set up is now directly in Julia, I'll struggle to get this tested in a timely manner. Are you planning a similar warning in SR.jl?

@MilesCranmer

Copy link
Copy Markdown
Owner Author

No worries! And yes; will put it in Julia too with a deprecation warning there. Just happened to write it on the Python side first

@MilesCranmer MilesCranmer force-pushed the deprecate-parametric-expression branch from 922c087 to 95ff874 Compare May 14, 2025 10:53
@coveralls

coveralls commented May 14, 2025

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 15033004687

Details

  • 15 of 15 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 93.622%

Totals Coverage Status
Change from base Build 15033000337: 0.05%
Covered Lines: 1468
Relevant Lines: 1568

💛 - Coveralls

@MilesCranmer MilesCranmer merged commit abd071b into master May 18, 2025
32 checks passed
@MilesCranmer MilesCranmer deleted the deprecate-parametric-expression branch May 18, 2025 03:11
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.

3 participants