Skip to content

Commit 301876b

Browse files
committed
adding a warning message
1 parent f5abb4c commit 301876b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

biojava3-structure/src/main/java/org/biojava/bio/structure/align/util/AFPAlignmentDisplay.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ public static Map<String,Double> calcIdSimilarity(char[] seq1, char[] seq2, int
346346
double similarity = 0.0;
347347

348348
if ( seq1 == null || seq2 == null){
349+
System.err.println("AFPAlignmentDisplay can't calc ID if alignment strings are null! ");
349350
Map<String, Double> m = new HashMap<String, Double>();
350351
m.put("similarity", similarity);
351352
m.put("identity", identity);

0 commit comments

Comments
 (0)