Skip to content

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.

3 participants