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

Bug: Fields with Commas Converted to Numbers in Excel #53

Open
berntpopp opened this issue Jul 19, 2024 · 0 comments
Open

Bug: Fields with Commas Converted to Numbers in Excel #53

berntpopp opened this issue Jul 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@berntpopp
Copy link
Member

Description

Some fields, such as AD or others containing commas, are being converted to numbers in Excel. This results in incorrect data representation. The expected behavior is for these fields to be treated as text to preserve their original format.

Steps to Reproduce

  1. Run the script with a VCF file containing fields like AD that have comma-separated values.
  2. Convert the output to Excel format.
  3. Open the Excel file and observe that fields with commas are converted to numbers.

Expected Behavior

Fields with commas should be treated as text in the Excel output to ensure the original format is preserved.

Actual Behavior

Fields with commas are converted to numbers, resulting in incorrect data representation.

Proposed Solution

Fix the type of such fields as text when converting to Excel format.

Impact

Ensuring fields with commas are treated as text will preserve the integrity of the data and avoid misrepresentation in the Excel output.

Additional Notes

  • Ensure backward compatibility with existing functionality.
  • Update the documentation to reflect the correct handling of fields with commas.
@berntpopp berntpopp added the bug Something isn't working label Jul 19, 2024
@berntpopp berntpopp self-assigned this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant