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

Error parsing Qualimap bamqc genome results to JSON #35

Closed
dfornika opened this issue Sep 9, 2024 · 0 comments · Fixed by #36
Closed

Error parsing Qualimap bamqc genome results to JSON #35

dfornika opened this issue Sep 9, 2024 · 0 comments · Fixed by #36

Comments

@dfornika
Copy link
Member

dfornika commented Sep 9, 2024

Encountered this error:

File "qualimap_bamqc_genome_results_to_json.py", line 339, in <module> main(args)                                                                                                                                                                                                                                File "qualimap_bamqc_genome_results_to_json.py", line 326, in main
      coverage_section = parse_coverage_section(args.input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "qualimap_bamqc_genome_results_to_json.py", line 264, in parse_coverage_section
      value = float(value)
              ^^^^^^^^^^^^
ValueError: could not convert string to float: '1,004.8341'

Likely caused because the comma , character was not removed before attempting to cast as float.

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 a pull request may close this issue.

1 participant