AdamaJava / adamajava

Other
14 stars 5 forks source link

Qsignature Compare - handle empty vcf files #285

Closed holmeso closed 2 years ago

holmeso commented 2 years ago

Description

Qsignature's Compare class recently gave an error when comparing a vcf record that had no records. The file had a header and no records (part of the bone marrow monocytes project).

Instead of throwing an exception, the Compare class should be able to handle this scenario and produce appropriate output.

Type of change

How Has This Been Tested?

An additional unit test has beed added to cover this scenario, and the updated code has been run against the project in question and no exceptions were thrown.

Are WDL Updates Required?

No wdl updates are required. The option parameters have not changed.

Checklist: