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

Make coinc_statmap work in the case that no foreground is present #4908

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

Conversation

GarethCabournDavies
Copy link
Contributor

Prasia found a bug in pycbc_coinc_statmap if no foreground events have been found,
this fixes that

Standard information about the request

This is a: bug fix
This change affects: the offline search
This change changes: nothing
This change: has been proposed using the contribution guidelines

Motivation

Fix bug for a legitimate use-case in the offline search

Contents

A variable was being used later in the code which was only set in the case that there was some foreground

This sets the variable and ensures that it is usable later

Links to any issues or associated PRs

#4907

Testing performed

To be tested with downstream codes

  • The author of this pull request confirms they will adhere to the code of conduct

Copy link
Contributor

@Prasia-Pankunni Prasia-Pankunni left a comment

Choose a reason for hiding this comment

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

The statmap job works fine

@GarethCabournDavies
Copy link
Contributor Author

I forgot that reviewers need write access - @spxiwh ?

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.

Absence of foreground triggers causing error in statmap jobs
2 participants