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

Fix behaviour of names argument in bigWigAverageOverBed of pybigtools. #41

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

ghuls
Copy link
Contributor

@ghuls ghuls commented Jun 13, 2024

Fix behaviour of names argument in bigWigAverageOverBed of pybigtools for True and 1+ as values passed to Name::Column() were off by one.

Before for a 4 column BED file, you would get the following error for True or 4:

Exception: Invalid name column option. Number of columns (4) is less than the value specified (5).

@jackh726
Copy link
Owner

Thanks! If you can fix formatting, I can merge. Otherwise, I'll fix this weekend.

Fix behaviour of names argument in bigWigAverageOverBed of pybigtools
for `True` and `1+` as values passed to `Name::Column()` were off by one.

Before for a 4 column BED file, you would get the following error
for `True` or `4`:

    Exception: Invalid name column option. Number of columns (4) is less than the value specified (5).
@ghuls ghuls force-pushed the fix_names_argument_in_pybigtools branch from e70277d to 49cea3f Compare June 13, 2024 15:30
@jackh726 jackh726 merged commit 9e29c8b into jackh726:master Jun 13, 2024
4 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