Menu

#237 Scaffold Tree, property mapping edge strange color gradient

2.6.2
closed
None
5
2017-04-13
2016-08-29
No

The default edge color is green (maybe this should be configurable) if the color mapping sets the node background to blue the edge from a virtual scaffold to another virtual scaffold is green but the edge from a virtual scaffold to a "real" scaffold is a color gradient from red to blue. In contrast, the edge from a virtual scaffold to a node with a red background color is just red (see attachment).

1 Attachments

Discussion

  • Nils Kriege

    Nils Kriege - 2016-08-29
    • status: open --> needs-info
     
  • Nils Kriege

    Nils Kriege - 2016-08-29

    I have some difficulties reproducing this. Is there also an active mapping for the edge color?

     
  • Lina Humbeck

    Lina Humbeck - 2016-08-29

    Sorry, I forgot to mention that there is a mapping for the edge color. The color of the edge should be the same as for the node background. But the accumulation function is different (sum for the nodes and average for the edges).

     
  • Nils Kriege

    Nils Kriege - 2016-08-29
    • assigned_to: Philipp Mewes
     
  • Nils Kriege

    Nils Kriege - 2016-08-29

    Then there seems to be a problem with edge color mapping and undefined property values. In case of undefined property values the default green edge color should be used.

    The problem occurs for virtual scaffolds, which do not have molecule properties, but may also occur in cases when the property is not defined for all the molecules belonging to a scaffold.

     
  • Till Schäfer

    Till Schäfer - 2016-09-01
    • status: needs-info --> open
     
  • Philipp Mewes

    Philipp Mewes - 2016-09-27
    • status: open --> in-progress
     
  • Philipp Mewes

    Philipp Mewes - 2016-10-17

    The color-mapping-type was set to "interval", right? With "gradient" everything seemed to be ok, but i could reproduce the bug finally, by setting the mapping-type to "interval". If the property was undefined, the first interval-color was used, instead of green.

    Fixed this with this commit.

     
  • Philipp Mewes

    Philipp Mewes - 2016-10-17
    • status: in-progress --> needs-review
     
  • Till Schäfer

    Till Schäfer - 2016-10-17
    • status: needs-review --> closed
    • Group: any future version --> next release
     
  • Till Schäfer

    Till Schäfer - 2016-10-17

    fixed here

     
  • Till Schäfer

    Till Schäfer - 2017-04-13
    • Group: 2.6.3 --> 2.6.2
     

Log in to post a comment.