Skip to content

Commit 2744788

Browse files
committed
address PR comments
1 parent 8c47c34 commit 2744788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/mskcc/oncokb/curation/service/MainService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public AlterationAnnotationStatus annotateAlteration(ReferenceGenome referenceGe
129129
);
130130

131131
String hgvsg = variantAnnotation.getHgvsg();
132-
if (hgvsg == null) {
132+
if (StringUtils.isEmpty(hgvsg)) {
133133
throw new ApiException(variantAnnotation.getErrorMessage());
134134
}
135135
alterationWithEntityStatus.getEntity().setAlteration(hgvsg);

0 commit comments

Comments
 (0)