cancervariants / fusor

Data classes and constructor tools supporting the VICC Gene Fusion Curation project
https://fusor.readthedocs.io/
MIT License
0 stars 0 forks source link

feat: relax requirements on minimum information model #131

Closed katiestahl closed 1 year ago

katiestahl commented 1 year ago

in my original PR, I did not address an issue where in nomenclature generation, the fusion's assay is assumed to always exist, so this would result in fusor throwing an exception when no assay is provided.

In this PR, I added some short circuiting logic to avoid that exception being thrown and also added unit tests to check for proper nomenclature generation when assay or causative event are not provided.