File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1311,7 +1311,8 @@ public void finish() {
13111311 seqMisMatch .setUniProtId (structRefSeqDif .getPdbxSeqDbAccessionCode ().isDefined ()? structRefSeqDif .getPdbxSeqDbAccessionCode ().get (rowIndex ):null );
13121312 seqMisMatch .setSeqNum (structRefSeqDif .getSeqNum ().get (rowIndex ));
13131313
1314- String strandId = structRefSeqDif .getPdbxPdbStrandId ().get (rowIndex );
1314+ String strandId = structRefSeqDif .getPdbxPdbStrandId ().isDefined ()? structRefSeqDif .getPdbxPdbStrandId ().get (rowIndex ) : null ;
1315+ if (strandId == null ) continue ;
13151316 List <SeqMisMatch > seqMisMatches = misMatchMap .computeIfAbsent (strandId , k -> new ArrayList <>());
13161317 seqMisMatches .add (seqMisMatch );
13171318 }
You can’t perform that action at this time.
0 commit comments