Skip to content

Commit 0dea8f5

Browse files
committed
Safer condition
the safer condition covers both UNKNOWN and NOT_PRESENT values
1 parent c16c2a8 commit 0dea8f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif/CifStructureConsumerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ public void consumeRefine(Refine refine) {
844844
for (int rowIndex = 0; rowIndex < refine.getRowCount(); rowIndex++) {
845845
// RESOLUTION
846846
ValueKind valueKind = refine.getLsDResHigh().getValueKind(rowIndex);
847-
if (ValueKind.NOT_PRESENT.equals(valueKind)) {
847+
if (! ValueKind.PRESENT.equals(valueKind)) {
848848
continue;
849849
}
850850
// in very rare cases (for instance hybrid methods x-ray + neutron diffraction, e.g. 3ins, 4n9m)

0 commit comments

Comments
 (0)