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

Cast genome count to string in macs2 wrapper #430

Open
wants to merge 2 commits into
base: v1.12rc
Choose a base branch
from

Conversation

menoldmt
Copy link
Contributor

If the user defines effective_genome_count in config.yaml as 2E7, for example, the value will be read in as a string and there will be no Python concatenation error. However, if the user enters an integer value such as 2056938195 into config.yaml as the effective_genome_count, the value will be read in as an integer and Python will error: can't concatenate int with str.

Even if we remove this wrapper script in future versions of lcdbwf, if this line persists elsewhere, it should be updated to force the effective_genome_count value from config.yaml into str for concatenation.

@menoldmt menoldmt changed the base branch from master to v1.12rc January 24, 2025 18:16
One extra space still persists after the genome_count value in the macs2 command. Unsure how to remove it. It does not produce an error
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.

1 participant