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

Remove Hardcoded File Paths #211

Open
wants to merge 22 commits into
base: develop
Choose a base branch
from

Conversation

JoshLoecker
Copy link
Member

Hardcoded file paths prevented using COMO as a true Python package; this removes those hardcoded items

Choose a reason for hiding this comment

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

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

main/como/rnaseq_gen.py:254

  • Ensure that the change to avoid zero or negative values in effective_length is covered by tests. If not, add tests to cover this behavior.
effective_length = [max(1e-9, size - (mean_fragment_lengths + 1)) for size in gene_size]

main/como/utils.py:163

  • Ensure 'entrez_gene_id' and 'active' columns exist in expression_data before accessing them to avoid KeyError.
expression_data = expression_data[["entrez_gene_id", "active"]]
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