Skip to content

DEP: remove ability to use parameters as state#1050

Merged
ColmTalbot merged 5 commits into
bilby-dev:mainfrom
ColmTalbot:no-parameters-as-state
May 14, 2026
Merged

DEP: remove ability to use parameters as state#1050
ColmTalbot merged 5 commits into
bilby-dev:mainfrom
ColmTalbot:no-parameters-as-state

Conversation

@ColmTalbot
Copy link
Copy Markdown
Collaborator

Likelihoods (and the waveform generator) will no longer allow a .parameters attribute to be used.

Copy link
Copy Markdown
Collaborator

@mj-will mj-will left a comment

Choose a reason for hiding this comment

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

I couple of minor comments mostly about doc-strings.

Comment thread bilby/core/likelihood.py Outdated
Comment thread bilby/core/likelihood.py
Comment thread bilby/gw/waveform_generator.py Outdated
@mj-will mj-will requested a review from a team April 30, 2026 14:42
Comment thread bilby/gw/likelihood/base.py
Comment thread bilby/gw/likelihood/base.py
Comment thread bilby/gw/waveform_generator.py
@mj-will mj-will requested review from asb5468 and mj-will May 14, 2026 15:11
Copy link
Copy Markdown
Collaborator

@mj-will mj-will left a comment

Choose a reason for hiding this comment

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

Thanks for making those changes Colm, LGTM now!

@ColmTalbot ColmTalbot force-pushed the no-parameters-as-state branch from 5021c97 to 0770339 Compare May 14, 2026 19:30
@ColmTalbot ColmTalbot requested review from asb5468 and mj-will May 14, 2026 19:31
@ColmTalbot
Copy link
Copy Markdown
Collaborator Author

I had to manually rebase after some samplers were removed so this needs a reapproval.

@ColmTalbot ColmTalbot enabled auto-merge May 14, 2026 19:31
@ColmTalbot ColmTalbot added this pull request to the merge queue May 14, 2026
Merged via the queue into bilby-dev:main with commit 1c2d311 May 14, 2026
16 checks passed
@ColmTalbot ColmTalbot deleted the no-parameters-as-state branch May 14, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants