Replies Created

  • deborakeller0@gmail.com

    bug ROI number

    deborakeller0@gmail.com

    HI Stephane,

    does this work for all timepoints?

    I have the following script (I guess from you before  you made it as a protocol) – it works, but only at the first time point.

    Any way to make it work at all timepoints ? cheers

    Debbi

    // Click on the button
    // to edit in a frame.

    bounds = input0.getBounds2D()
    output0 = []
    ind = 0;

    for(i = 0; i < input1.length; i++)
    {
    r = input1[i]

    rbounds = r.getBounds5D().toRectangle2D();
    if ((rbounds.getMinX() == bounds.getMinX()) ||
    (rbounds.getMinY() == bounds.getMinY()) ||
    (rbounds.getMaxX() == bounds.getMaxX()) ||
    (rbounds.getMaxY() == bounds.getMaxY()))
    continue;

    output0[ind++] = r;
    }

    deborakeller0@gmail.com

    This happened on multiple cells and with multiple parameters.. and even after fresh Icy installation

    deborakeller0@gmail.com

     

    deborakeller0@gmail.com

    he following error is reported only on first occurence :
    org.pushingpixels.substance.api.UiThreadingViolationException: State tracking must be done on Event Dispatch Thread
    at org.pushingpixels.substance.internal.utils.SubstanceCoreUtilities.testThreadingViolation(SubstanceCoreUtilities.java:2117)
    at org.pushingpixels.substance.internal.animation.StateTransitionTracker$ModelStateInfo.clear(StateTransitionTracker.java:171)
    at org.pushingpixels.substance.internal.animation.StateTransitionTracker.onModelStateChanged(StateTransitionTracker.java:337)
    at org.pushingpixels.substance.internal.animation.StateTransitionTracker$4.stateChanged(StateTransitionTracker.java:262)
    at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
    at javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:269)
    at javax.swing.AbstractButton.setSelected(AbstractButton.java:348)
    at plugins.adufour.roi.ROIMeasures$MeasureSelector.loadParameters(ROIMeasures.java:1295)
    at plugins.adufour.roi.ROIMeasures$MeasureSelector.valueChanged(ROIMeasures.java:1363)
    at plugins.adufour.roi.ROIMeasures$MeasureSelector.valueChanged(ROIMeasures.java:1)
    at plugins.adufour.vars.lang.Var.fireVariableChanged(Var.java:328)
    at plugins.adufour.vars.lang.Var.setValue(Var.java:791)
    at plugins.adufour.vars.lang.Var.loadFromXML(Var.java:530)
    at plugins.adufour.blocks.util.BlocksML.loadWorkFlow_V4(BlocksML.java:1430)
    at plugins.adufour.blocks.util.BlocksML.loadWorkFlow_V4(BlocksML.java:1306)
    at plugins.adufour.blocks.util.BlocksML.loadWorkFlow(BlocksML.java:773)
    at plugins.adufour.protocols.gui.ProtocolPanel.loadWorkFlow(ProtocolPanel.java:454)
    at plugins.adufour.protocols.gui.MainFrame$2.run(MainFrame.java:597)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

    deborakeller0@gmail.com

    obviously you can clean up afterwards but it’d be good if it can be done before it generates additional areas..

    maybe it’s a feature request: restrict size of entering objects and min and/or max intensity