public class ReplaceLabelsByTableAlgorithm extends JIPipeIteratingAlgorithm
JIPipeGraphNode.BaseDirectoryChangedEvent, JIPipeGraphNode.Serializer
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
SLOT_PARAMETERS
Constructor and Description |
---|
ReplaceLabelsByTableAlgorithm(JIPipeNodeInfo info) |
ReplaceLabelsByTableAlgorithm(ReplaceLabelsByTableAlgorithm other) |
Modifier and Type | Method and Description |
---|---|
OptionalDefaultExpressionParameter |
getMissingValueReplacement() |
TableColumnSourceExpressionParameter |
getNewLabelColumn() |
TableColumnSourceExpressionParameter |
getOldLabelColumn() |
boolean |
isIgnoreZero() |
protected void |
runIteration(JIPipeDataBatch dataBatch,
JIPipeProgressInfo progressInfo)
Runs code on one data row
|
void |
setIgnoreZero(boolean ignoreZero) |
void |
setMissingValueReplacement(OptionalDefaultExpressionParameter missingValueReplacement) |
void |
setNewLabelColumn(TableColumnSourceExpressionParameter newLabelColumn) |
void |
setOldLabelColumn(TableColumnSourceExpressionParameter oldLabelColumn) |
createUIInputSlotIconDescriptionMenuItems, generateDataBatchesDryRun, getAdaptiveParameterSettings, getDataBatchGenerationSettings, getGenerationSettingsInterface, getParallelizationBatchSize, isParallelizationEnabled, isParameterUIVisible, isParameterUIVisible, runParameterSet, runPassThrough, setParallelizationEnabled, supportsParallelization
getDataInputSlotCount, getDataInputSlots, getFirstInputSlot, getNonParameterInputSlots, getParameterSlot, getParameterSlotAlgorithmSettings, getUIInputSlotIcon, getUIInputSlotIconBaseDimensions, run
canAutoPassThrough, canPassThrough, functionallyEquals, getThreadPool, isEnabled, isPassThrough, isPostprocessor, isPreprocessor, loadExample, reportValidity, runPassThrough, setEnabled, setPassThrough, setThreadPool
archiveTo, 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, registerSubParameter, renderInputSlots, renderOutputSlots, setBaseDirectory, setBookmarked, setCustomDescription, setCustomName, setInfo, setInternalStoragePath, setLocations, setLocationWithin, setLocationWithin, setParentGraph, setProjectDirectory, setScratchBaseDirectory, setSlotConfiguration, setStoragePath, toggleSlot, toJson, triggerSlotsChangedEvent, updateGraphNodeSlots
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateValidityReport
addParameterChangeListener, addParameterChangeListener, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, setParameter, triggerParameterChange, triggerParameterStructureChange, triggerParameterUIChange
public ReplaceLabelsByTableAlgorithm(JIPipeNodeInfo info)
public ReplaceLabelsByTableAlgorithm(ReplaceLabelsByTableAlgorithm other)
public TableColumnSourceExpressionParameter getOldLabelColumn()
public void setOldLabelColumn(TableColumnSourceExpressionParameter oldLabelColumn)
public TableColumnSourceExpressionParameter getNewLabelColumn()
public void setNewLabelColumn(TableColumnSourceExpressionParameter newLabelColumn)
public OptionalDefaultExpressionParameter getMissingValueReplacement()
public void setMissingValueReplacement(OptionalDefaultExpressionParameter missingValueReplacement)
public boolean isIgnoreZero()
public void setIgnoreZero(boolean ignoreZero)
protected void runIteration(JIPipeDataBatch dataBatch, JIPipeProgressInfo progressInfo)
JIPipeIteratingAlgorithm
runIteration
in class JIPipeIteratingAlgorithm
dataBatch
- The data interfaceprogressInfo
- the progress info from the runCopyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.