diff --git a/converter-CellDesigner/src/main/java/lcsb/mapviewer/converter/model/celldesigner/geometry/AbstractCellDesignerAliasConverter.java b/converter-CellDesigner/src/main/java/lcsb/mapviewer/converter/model/celldesigner/geometry/AbstractCellDesignerAliasConverter.java index 172182d4c2297b28e480a927a17c29b7526b71fe..e6031f0475f8a5e12b78b13d3a85c1fe2c762ae1 100644 --- a/converter-CellDesigner/src/main/java/lcsb/mapviewer/converter/model/celldesigner/geometry/AbstractCellDesignerAliasConverter.java +++ b/converter-CellDesigner/src/main/java/lcsb/mapviewer/converter/model/celldesigner/geometry/AbstractCellDesignerAliasConverter.java @@ -391,8 +391,9 @@ public abstract class AbstractCellDesignerAliasConverter<T extends Element> impl double ratio = 1 - (pointOnBorder.getY() - element.getY()) / element.getHeight(); result = ratio * (PI / 2) + BOTTOM_RESIDUE_MAX_ANGLE; } else { - logger.warn("Problem with finding angle. Using default 0"); - result = 0; + //TODO this should align the result to the closes possible value (not the arbitrary default) + logger.warn("Problem with finding angle. Using default"); + result = PI/2; } return result; }