Skip to content

Commit

Permalink
Display unrecognized modifications in popup text
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Sep 1, 2024
1 parent 916c173 commit c597d32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public boolean containsPosition(Integer pos) {
public String valueString(int pos) {
int l = (int) (100.0 * Byte.toUnsignedInt(likelihoods.get(pos)) / 255);
return "Base modification: " +
((codeValues.containsKey(modification)) ? codeValues.get(modification) : "Uknown") + " (" + l + "%)";
((codeValues.containsKey(modification)) ? codeValues.get(modification) : modification) + " (" + l + "%)";
}

static Map<String, String> codeValues;
Expand Down

0 comments on commit c597d32

Please sign in to comment.