vars.clear();
vars.add("KWE");
uf.setOriginal("KLS");
- assertEquals(
- "p.LysLeuSer23LysTrpGlu Hello",
+ assertEquals("p.LysLeuSer23LysTrpGlu Hello",
Uniprot.getDescription(uf));
// adding a fourth original base switches to single letter code
uf.setOriginal("KLST");
- assertEquals("p.KLST23LysTrpGlu Hello",
- Uniprot.getDescription(uf));
+ assertEquals("p.KLST23LysTrpGlu Hello", Uniprot.getDescription(uf));
- // adding a fourth variant switches to a condensed representation
+ // adding a fourth variant switches to single letter code
vars.clear();
vars.add("KWES");
assertEquals("p.KLST23KWES Hello", Uniprot.getDescription(uf));