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

Bugfix for live fits #4881

Merged
merged 4 commits into from
Sep 16, 2024
Merged

Bugfix for live fits #4881

merged 4 commits into from
Sep 16, 2024

Conversation

maxtrevor
Copy link
Contributor

We discovered a bug where if an ifo had no data for an entire day, it would cause an error in the daily supervised fitting. This fixes that bug.

This affects only the PyCBC Live search, not offline.


all_ifos = controls['ifos'].split()
active_ifos = get_active_ifos(merged_triggers)
active_ifos = [ifo for ifo in active_ifos if ifo in all_ifos]
Copy link
Contributor

Choose a reason for hiding this comment

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

I think here we are looking at removing any IFOs which are in the trigger file but not in the config file? That may be worth commenting, as I got confused for a minute

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a comment

Copy link
Contributor

@GarethCabournDavies GarethCabournDavies left a comment

Choose a reason for hiding this comment

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

Minor comment re a comment, but this LGTM

@maxtrevor maxtrevor merged commit 4833249 into gwastro:master Sep 16, 2024
30 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