CPTR-ReSeqTB / UVP

Mycobacterium tuberculosis next generation sequence analysis
MIT License
21 stars 12 forks source link

invalid literal for int() with base 10: '29.995328591049294\n' #31

Open TimHHH opened 4 years ago

TimHHH commented 4 years ago

Hi. I am getting the following error on stdout:

  File "/home/shared_data_ghi/CWGSMTB/Software/venv_resetqtb-uvp/bin/uvp", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/home/shared_data_ghi/CWGSMTB/Software/resetqtb-uvp/bin/uvp", line 181, in <module>
    main()
  File "/home/shared_data_ghi/CWGSMTB/Software/resetqtb-uvp/bin/uvp", line 175, in main
    s.runCoverage()
  File "/home/shared_data_ghi/CWGSMTB/Software/resetqtb-uvp/uvp/snp.py", line 511, in runCoverage
    if cov != '' and int(cov) < 10:
ValueError: invalid literal for int() with base 10: '29.995328591049294\n'

looks like the litteral "\n" may cause the error? Thanks. Tim