public class Clij2ExecuteKernelIterating extends JIPipeIteratingAlgorithm
JIPipeAlgorithm.StateSerializer
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
SLOT_PARAMETERS
Constructor and Description |
---|
Clij2ExecuteKernelIterating(Clij2ExecuteKernelIterating other) |
Clij2ExecuteKernelIterating(JIPipeNodeInfo info) |
Modifier and Type | Method and Description |
---|---|
String |
getKernelFunction() |
OpenCLKernelScript |
getKernelScript() |
PythonScript |
getPreprocessingScript() |
JIPipeDynamicParameterCollection |
getScriptParameters() |
void |
reportValidity(JIPipeIssueReport report)
Generates a validity report
|
protected void |
runIteration(JIPipeDataBatch dataBatch,
JIPipeProgressInfo progressInfo)
Runs code on one data row
|
void |
runParameterSet(JIPipeProgressInfo progressInfo,
List<JIPipeTextAnnotation> parameterAnnotations)
Runs a parameter set iteration
|
void |
setBaseDirectory(Path baseDirectory)
Sets the current work directory of this algorithm.
|
void |
setKernelFunction(String kernelFunction) |
void |
setKernelScript(OpenCLKernelScript kernelScript) |
void |
setPreprocessingScript(PythonScript preprocessingScript) |
generateDataBatchesDryRun, getAdaptiveParameterSettings, getDataBatchGenerationSettings, getGenerationSettingsInterface, getParallelizationBatchSize, isParallelizationEnabled, isParameterUIVisible, isParameterUIVisible, runPassThrough, setParallelizationEnabled, supportsParallelization
getDataInputSlotCount, getDataInputSlots, getFirstInputSlot, getNonParameterInputSlots, getParameterSlot, getParameterSlotAlgorithmSettings, run
canAutoPassThrough, canPassThrough, getStateId, getThreadPool, isEnabled, isPassThrough, isPostprocessor, isPreprocessor, loadExample, runPassThrough, setEnabled, setPassThrough, setThreadPool
canUserDelete, clearLocations, clearSlotData, copySlotConfiguration, duplicate, fromJson, fromJsonNode, getAliasIdInParentGraph, getBaseDirectory, getCategory, getCompartmentDisplayName, getCompartmentUUIDInGraphAsString, getCompartmentUUIDInParentGraph, getCustomDescription, getDependencies, getDisplayName, getEventBus, getFirstOutputSlot, getInfo, getInputSlot, getInputSlotMap, getInputSlotOrder, getInputSlots, getInputSlotsWithRole, getInternalStoragePath, getLastInputSlot, getLastOutputSlot, getLocations, getLocationWithin, getName, getNewScratch, getOpenInputSlots, getOutputSlot, getOutputSlotMap, getOutputSlots, getOutputSlotsWithRole, getParentGraph, getProjectCompartment, getProjectDirectory, getScratchBaseDirectory, getSlotConfiguration, getStoragePath, getUUIDInParentGraph, hasInputSlot, hasOutputSlot, isBookmarked, isVisibleIn, onDeserialized, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, onSlotConfigurationChanged, onSlotConnected, onSlotDisconnected, registerSubParameter, renderInputSlots, renderOutputSlots, setAllSlotsVirtual, setBookmarked, setCustomDescription, setCustomName, setInfo, setInternalStoragePath, setLocations, setLocationWithin, setLocationWithin, setParentGraph, setProjectDirectory, setScratchBaseDirectory, setSlotConfiguration, setStoragePath, toggleSlot, toJson, triggerSlotsChangedEvent, updateGraphNodeSlots, updateSlotInheritance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateValidityReport
addParameterChangeListener, addParameterChangeListener, getContextActions, getParameter, getParameterAccess, setParameter, triggerParameterChange, triggerParameterStructureChange, triggerParameterUIChange
public Clij2ExecuteKernelIterating(JIPipeNodeInfo info)
public Clij2ExecuteKernelIterating(Clij2ExecuteKernelIterating other)
public void runParameterSet(JIPipeProgressInfo progressInfo, List<JIPipeTextAnnotation> parameterAnnotations)
JIPipeParameterSlotAlgorithm
runParameterSet
in class JIPipeIteratingAlgorithm
progressInfo
- progress info from the runparameterAnnotations
- parameter annotationsprotected void runIteration(JIPipeDataBatch dataBatch, JIPipeProgressInfo progressInfo)
JIPipeIteratingAlgorithm
runIteration
in class JIPipeIteratingAlgorithm
dataBatch
- The data interfaceprogressInfo
- the progress info from the runpublic void setBaseDirectory(Path baseDirectory)
JIPipeGraphNode
JIPipeGraphNode.BaseDirectoryChangedEvent
that can be received by JIPipeDataSlot
instances to adapt to the work directory.setBaseDirectory
in class JIPipeGraphNode
baseDirectory
- The work directory. Can be nullpublic PythonScript getPreprocessingScript()
public void setPreprocessingScript(PythonScript preprocessingScript)
public JIPipeDynamicParameterCollection getScriptParameters()
public OpenCLKernelScript getKernelScript()
public void setKernelScript(OpenCLKernelScript kernelScript)
public String getKernelFunction()
public void setKernelFunction(String kernelFunction)
public void reportValidity(JIPipeIssueReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
reportValidity
in class JIPipeAlgorithm
report
- the report to be added toCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.