AWGL / somatic_db

A database for analysing cancer NGS data within AWMGS
https://awgl.github.io/somatic_db/
0 stars 2 forks source link

Order the fusion check objects #95

Closed erikwaskiewicz closed 8 months ago

erikwaskiewicz commented 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

Istaisa commented 8 months ago

Logic good, unit tests still pass, bug is fixed.