From c597d32a5cede14d9376b9ac08317eff07bbeb0c Mon Sep 17 00:00:00 2001 From: jrobinso <933148+jrobinso@users.noreply.github.com> Date: Sat, 31 Aug 2024 21:44:40 -0700 Subject: [PATCH] Display unrecognized modifications in popup text --- src/main/java/org/broad/igv/sam/mods/BaseModificationSet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/broad/igv/sam/mods/BaseModificationSet.java b/src/main/java/org/broad/igv/sam/mods/BaseModificationSet.java index e53ffe9a2f..6544a2003c 100644 --- a/src/main/java/org/broad/igv/sam/mods/BaseModificationSet.java +++ b/src/main/java/org/broad/igv/sam/mods/BaseModificationSet.java @@ -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 codeValues;