Illumina / GTCtoVCF

Script to convert GTC/BPM files to VCF
Apache License 2.0
41 stars 31 forks source link

Precision difference when updating numpy versions #42

Open jjzieve opened 5 years ago

jjzieve commented 5 years ago

Its suggested in the README to use numpy=1.11. But if its updated to a newer version (e.g. 1.15.2) regression tests will fail due to precision differences when outputting floats (e.g. GQ score).

Example: `AssertionError: '1\t1158675\t1KG_1_1158675\tC\tCCTT\t.\tPASS\t.\tGT:GQ\t0/0:0.43702784\n' != '1\t1158675\t1KG_1_1158675\tC\tCCTT\t.\tPASS\t.\tGT:GQ\t0/0:0.437028\n'

Probable solution: