You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Annotation.getPutativeImpact() and Annotation.getMostPathogenicVarType() can both return a null, yet there are no @Nullable annotations on these methods to enable code inspection tools to make the end-user aware of this hidden gem of excitement.
These stem from the effects field being an empty list:
Annotation.getPutativeImpact() and Annotation.getMostPathogenicVarType() can both return a null, yet there are no
@Nullable
annotations on these methods to enable code inspection tools to make the end-user aware of this hidden gem of excitement.These stem from the
effects
field being an empty list:could these be changed to return the lowest effect/impact:
Alternatively the
EMPTY_VARIANT_EFFECTS
field could be changed toSEQUENCE_VARIANT_EFFECT
which is assigned in the constructor:becomes:
and then getMostPathogenicVarType() and getPutativeImpact() can be simplified:
The text was updated successfully, but these errors were encountered: