We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c47c34 commit 2744788Copy full SHA for 2744788
src/main/java/org/mskcc/oncokb/curation/service/MainService.java
@@ -129,7 +129,7 @@ public AlterationAnnotationStatus annotateAlteration(ReferenceGenome referenceGe
129
);
130
131
String hgvsg = variantAnnotation.getHgvsg();
132
- if (hgvsg == null) {
+ if (StringUtils.isEmpty(hgvsg)) {
133
throw new ApiException(variantAnnotation.getErrorMessage());
134
}
135
alterationWithEntityStatus.getEntity().setAlteration(hgvsg);
0 commit comments