You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The DefaultPValue op returns a PValueResult object, which is a struct consisting of Double pValue, Double colocValue, double[] colocValuesArray. The class has no fancy logic, it's just a data container. Unfortunately, the PValueResult class is part of scijava-ops-image, which does not export any packages, so callers cannot actually consume this output to see the results of their coloc.pValue Op executions.
To fix this, we could introduce a very general Triple<A, B, C> interface to scijava-common3 and have scijava-ops-image's DefaultPValue op return Triple<Double, Double, double[]> instead of a PValueResult. More type-safe would be a public record PValueResult (Double pValue, Double colocValue, double[] colocValuesArray), but it would still need to live in an exported package... somewhere...
Activity