Skip to content
Snippets Groups Projects
Commit fd25838a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

class check simplified

parent 3d4021db
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!545Import from sbgn issue
......@@ -219,8 +219,7 @@ public class SbgnmlXmlExporter {
bbox.setH(element.getHeight().floatValue());
newGlyph.setBbox(bbox);
if (GlyphClazz.fromClazz(newGlyph.getClazz()).equals(GlyphClazz.MACROMOLECULE)
|| GlyphClazz.fromClazz(newGlyph.getClazz()).equals(GlyphClazz.MACROMOLECULE_MULTIMER)) {
if (element instanceof Protein) {
Protein protein = (Protein) element;
for (ModificationResidue mr : protein.getModificationResidues()) {
Glyph stateVariableGlyph = parseStateVariable(mr);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment