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

[GEN-1078] HOTFIX: Add in new known string columns as MSK added new columns into maf file #547

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

thomasyu888
Copy link
Member

@thomasyu888 thomasyu888 commented Jan 15, 2024

Note: This PR is being merged into main to enable processing.

Problem

The first 5000 rows of file do not always contain the correct dtype

Solution
Set the known string columns to be string type so that the code doesn't try to convert string to integer

@thomasyu888 thomasyu888 requested a review from a team as a code owner January 15, 2024 21:53
@thomasyu888 thomasyu888 changed the title [GEN-1078] Add in new known string columns as MSK added new columns into maf file [GEN-1078] HOTFIX: Add in new known string columns as MSK added new columns into maf file Jan 15, 2024
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@Chelsea-Na Chelsea-Na left a comment

Choose a reason for hiding this comment

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

If possible we should probably explore how we can ignore casing on column headers when we’re reading in the data frame (or an alternative solution) so we don’t face the “transcription” or “TRANSCRIPTION” issue.

We should also discuss if it is possible to only read in specific columns when reading in the data frame in pandas.

@thomasyu888 thomasyu888 merged commit be43eb6 into main Jan 16, 2024
6 checks passed
@thomasyu888 thomasyu888 deleted the hot-fix branch April 25, 2024 03:43
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