Closed trondarild closed 4 years ago
Widget works when adding in running simulation, but not when loaded from file
To reproduce, try this ikg file:
<?xml version="1.0"?> <group title="Groupname" > <!-- modules --> <module class = "InputFile" name = "InverseModel" filename = "pinky-plane.csv" type="static" _iterations="100" /> <connection source = "InverseModel.OUTPUT" target = "DummyGate_PinkyXY.INPUT"/> <module class="Gate" name="DummyGate_PinkyXY" /> <!-- connections --> <view name="view" > <marker labelOffsetY = "0" labelBaseline = "middle" width = "621" labelPrefix = "" show_frame = "true" labelDecimals = "2" flipXCanvas = "no" count = "0" flipYAxis = "no" lineWidth = "1" frame-style = "" scale_y = "1" labelPostfix = "" y = "40" color = "" fill = "gray" flipYCanvas = "no" flipXAxis = "no" max_x = "0.51" min_x = "-0.5" max_y = "0.5" min_y = "-0.5" style = "" selectValue = "" labelFont = "18px sans-serif" markerType = "circle" scale_x = "0.9900990099009901" show_title = "true" scales = "yes" lineCap = "butt" title = "Inverse model" order = "col" labelAlign = "center" labelOffsetX = "0" height = "641" source = "InverseModel.OUTPUT" lineJoin = "miter" select = "0" x = "40" labelType = "none" size = "0.02" labels = ""/> <table source = "InverseModel.OUTPUT" title = "Default Title" y = "40" label_x = "" label_y = "" height = "200" direction = "normal" x = "680" decimals = "4" show_title = "false" scrollable = "false" width = "200" show_frame = "false" style = "" colorize = "true" frame-style = ""/> <marker x = "700" y = "280" height = "381" width = "381" title = "" source = "InverseModel.OUTPUT" order = "col" select = "0" selectValue = "" count = "0" markerType = "circle" size = "0.02" color = "" fill = "gray" lineWidth = "1" lineCap = "butt" lineJoin = "miter" labelType = "none" labels = "" labelFont = "18px sans-serif" labelDecimals = "2" labelPrefix = "" labelPostfix = "" labelAlign = "center" labelBaseline = "middle" labelOffsetX = "0" labelOffsetY = "0" scales = "yes" min_x = "-0.5" max_x = "0.5" min_y = "-0.5" max_y = "0.5" flipXAxis = "no" flipYAxis = "no" flipXCanvas = "no" flipYCanvas = "no" show_title = "false" show_frame = "false" style = "" frame-style = "" scale_x = "1" scale_y = "1"/> </view> </group>
with csv file:
OUTPUT/2 -0.011 0.252 -0.034 0.317 -0.043 0.310 -0.124 0.289 -0.112 0.315 -0.045 0.309
Works with minimal parameters in ikg file: <marker width = "621" y = "40" height = "641" source = "InverseModel.OUTPUT" x = "40" />
<marker width = "621" y = "40" height = "641" source = "InverseModel.OUTPUT" x = "40" />
Widget works when adding in running simulation, but not when loaded from file
To reproduce, try this ikg file:
with csv file: