Skip to content
Snippets Groups Projects

import of complex with no border fixed

Merged Piotr Gawron requested to merge 1198-complex-no-border into devel_14.0.x
4 files
+ 144
3
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -20,6 +20,7 @@ import lcsb.mapviewer.model.map.model.Model;
import lcsb.mapviewer.model.map.model.ModelData;
import lcsb.mapviewer.model.map.species.Complex;
import lcsb.mapviewer.model.map.species.Species;
import lcsb.mapviewer.modelutils.map.ElementUtils;
/**
* Parser of CellDesigner xml used for parsing complex aliases. Important: Only
@@ -132,9 +133,13 @@ public class ComplexAliasXmlParser extends AbstractAliasXmlParser<Complex> {
if (state.equalsIgnoreCase("usual")) {
view = usualView;
} else if (state.equalsIgnoreCase("brief")) {
view = briefView;
view = usualView;
} else if (state.equalsIgnoreCase("complexnoborder")) {
view = usualView;
} else if (state.equalsIgnoreCase("complexparentbrief")) {
view = briefView;
} else {
throw new InvalidXmlSchemaException(new ElementUtils().getElementTag(result)+"Don't know how to process state: " + state);
}
if (view != null) {
Loading