Skip to content

Adding feature to use custom "default_value" as filler for intervals … #17

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

Merged
merged 4 commits into from
Apr 23, 2025

Conversation

jorenretel
Copy link
Collaborator

…that are not included in the bigwig files. The default is 0.0, which is consistent with the previous behavior. Now any custom value may be used, like cp.nan.

…that are not included in the bigwig files. The default is 0.0, which is consistent with the previous behavior. Now any custom value may be used, like cp.nan.
@jorenretel jorenretel requested a review from ap-- as a code owner April 22, 2025 14:09
@jorenretel jorenretel self-assigned this Apr 22, 2025
@jorenretel jorenretel added the enhancement New feature or request label Apr 22, 2025
@jorenretel jorenretel merged commit 2871cb2 into main Apr 23, 2025
1 check passed
@mukamel-lab
Copy link

Thanks for making this update! I just checked and it seems that the behavior is unexpected when the first bin in the batch has missing values in the bigwig. In that case, it seems to return 0 instead of default_value.

@jorenretel
Copy link
Collaborator Author

@mukamel-lab thanks so much for pointing this out. So I still made a mistake somewhere. Need to include a test that simulates this scenario. Will look into it.

@jorenretel
Copy link
Collaborator Author

jorenretel commented Apr 24, 2025

@mukamel-lab . I am trying to replicate what you are seeing in this PR: #18 . I just don't manage to replicate it (see my comments in the PR). Could you maybe tell me exactly what call you are making, with which parameters?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants