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

WIP: Alow model_singlepsr_noise to work with .tim TOA files that contain no pta/f flags #227

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mattpitkin
Copy link

@mattpitkin mattpitkin commented Mar 6, 2024

Currently, if trying to use model_singlepsr_noise with a Pulsar that was created from a .tim file that contains no pta or f flag (e.g., something simulated by Tempo2) it will fail. This PR fixes this by using the get dictionary method with a default empty string being returned.

@mattpitkin
Copy link
Author

I've discovered that this breaks things due to the enterprise BasePulsar class' backend_flags property required a flag of some sort to be set. So, I might need to suggest a change there too.

@mattpitkin mattpitkin changed the title Alow model_singlepsr_noise to work with .tim TOA files that contain no pta/f flags WIP: Alow model_singlepsr_noise to work with .tim TOA files that contain no pta/f flags Mar 6, 2024
@mattpitkin mattpitkin marked this pull request as draft March 6, 2024 21:27
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.

None yet

1 participant