Closed erikwaskiewicz closed 8 months ago
Hotfix for a bug where a case couldnt be finalised because the last two checks didnt agree, but they did. It was becuase the checks were in the wrong order.
Added .order_by('pk') to the end of the query to match the SNV code here - https://github.com/AWGL/somatic_db/blob/e0f39592e59a78bf83cadb71542d3af69f0e42de/analysis/utils.py#L340
.order_by('pk')
Logic good, unit tests still pass, bug is fixed.
Hotfix for a bug where a case couldnt be finalised because the last two checks didnt agree, but they did. It was becuase the checks were in the wrong order.
Added
.order_by('pk')
to the end of the query to match the SNV code here - https://github.com/AWGL/somatic_db/blob/e0f39592e59a78bf83cadb71542d3af69f0e42de/analysis/utils.py#L340