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 cBioDataPack error on non-char Patient ID #27

Merged
merged 2 commits into from
Jul 13, 2020

Conversation

jucor
Copy link
Contributor

@jucor jucor commented Jul 12, 2020

cBioDataPack() smartly checks patient IDs for the prefix "TCGA" to remove it if
needed. That checks errors when the patient ID is not numeric.

Not all studies' patient IDs are characters. For example, coadread_genentech's patient IDs are numeric. Modifying the test
to first check if the IDs are character solves the problem.

Fixes #25.

jucor added 2 commits July 12, 2020 16:23
cBioDataPack() smartly checks patient IDs for the prefix "TCGA" to remove it if
needed. That checks errors when the patient ID is not numeric.
Not all studieas' patient IDs are characters. For example,
coadread_genentech patient IDs are numeric. Modifying the test
to first check if the IDs are character solves the problem.
Just to be sure it doesn't get reintroduced.
@LiNk-NY LiNk-NY merged commit b166aa9 into waldronlab:master Jul 13, 2020
@lwaldron
Copy link
Member

Thank you Julien, @jucor!!! Really appreciated.

@jucor
Copy link
Contributor Author

jucor commented Jul 13, 2020 via email

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.

cBioDataPack("coadread_genentech") error
3 participants