Conversation
PR Summary by QodoFix OncoKB MAF bind_rows type mismatch; add CONTRIBUTING; bump to 2.3.1.9001
AI Description
Diagram
High-Level Assessment
Files changed (19)
|
There was a problem hiding this comment.
Pull request overview
This PR updates PCGR’s development metadata/versioning and adds contributor documentation, alongside a fix intended to make OncoKB MAF ingestion more robust when combining annotations from independently parsed files.
Changes:
- Add formal contribution guidelines and link them from the README; update Code of Conduct contact details.
- Bump the project’s development version to
2.3.1.9001across Python, R, conda recipes/envs, CI, and bumpversion config. - Adjust OncoKB MAF reading to avoid
dplyr::bind_rows()failures due to inconsistent per-file type inference.
Reviewed changes
Copilot reviewed 15 out of 19 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds a “Contributing” section pointing to CONTRIBUTING.md and Code of Conduct. |
| pyproject.toml | Bumps Python package version to 2.3.1.9001. |
| pcgrr/vignettes/installation.Rmd | Updates vignette version variable to match dev version. |
| pcgrr/R/oncokb.R | Changes MAF TSV parsing to enforce consistent column typing across files. |
| pcgrr/DESCRIPTION | Bumps R package version to 2.3.1.9001. |
| pcgr/_version.py | Bumps Python runtime version constant. |
| CONTRIBUTING.md | Adds contribution, reporting, workflow, and validation guidance. |
| conda/recipe/pcgrr/recipe.yaml | Bumps conda recipe version for r-pcgrr. |
| conda/recipe/pcgr/recipe.yaml | Bumps conda recipe version for pcgr. |
| conda/env/yaml/pkgdown.yaml | Updates pinned r-pcgrr version for docs env. |
| conda/env/yaml/pcgrr.yaml | Updates pinned r-pcgrr version for pcgrr env. |
| conda/env/yaml/pcgr.yaml | Updates pinned pcgr version for pcgr env. |
| conda/env/lock/pcgrr-osx-64.lock | Updates lockfile hash and resolved packages for dev label artifacts. |
| conda/env/lock/pcgrr-linux-64.lock | Updates lockfile hash and resolved packages for dev label artifacts. |
| conda/env/lock/pcgr-osx-64.lock | Updates lockfile hash and resolved packages for dev label artifacts. |
| conda/env/lock/pcgr-linux-64.lock | Updates lockfile hash and resolved packages for dev label artifacts. |
| CODE_OF_CONDUCT.md | Adds an additional contact email for reporting incidents. |
| .github/workflows/build_conda_recipes.yaml | Updates workflow VERSION env var to the dev version. |
| .bumpversion.toml | Updates bumpversion current_version to the dev version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The previous fix forced all OncoKB MAF columns to character to avoid bind_rows() type mismatches, but that also broke the `== TRUE` filters on ANNOTATED/GENE_IN_ONCOKB/VARIANT_IN_ONCOKB: OncoKB's MafAnnotator writes Python-style "True"/"False", and "True" == TRUE is FALSE in R, so every row would have been silently dropped. Keep those three columns logical explicitly, force everything else to character.
Code Review by Qodo
1.
|
No description provided.