Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds warning that KNtimeshift is deprecated #226

Conversation

tylerbarna
Copy link
Collaborator

Recent update breaks compatibility with old prior files due to renaming of KNtimeshift parameter to timeshift, this PR has a few lines of code that restore compatibility but warns users that KNtimeshift will no longer work at some point in the future.

temporary warning to retain compatibility with previous codebases, should remove in future update after users have time to change priors
Copy link
Member

@mcoughlin mcoughlin left a comment

Choose a reason for hiding this comment

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

I think the continue should be removed.

nmma/em/likelihood.py Outdated Show resolved Hide resolved
nmma/em/likelihood.py Outdated Show resolved Hide resolved
Copy link
Member

@mcoughlin mcoughlin left a comment

Choose a reason for hiding this comment

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

LGTM

@mcoughlin mcoughlin merged commit b688b93 into nuclear-multimessenger-astronomy:main Sep 8, 2023
5 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