public class ExportReportFeatures extends Task<MultiInput,CSVWriter>
DefineOutputter
and a MultiInput
.
It uses ReportFeature<ImageInitialization>
features.
The following outputs are produced:
Output Name | Default? | Description |
---|---|---|
yes | A CSV file with the report-features as columns (and an ID column), one for each input. | |
inherited from Task | ||
inherited from ExportReportFeatures |
Constructor and Description |
---|
ExportReportFeatures() |
executeJob, isInputCompatibleWith
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public CSVWriter beforeAnyJobIsExecuted(Outputter outputter, ConcurrencyPlan concurrencyPlan, List<MultiInput> inputs, ParametersExperiment parameters) throws ExperimentExecutionException
Task
Task.executeJob(org.anchoranalysis.experiment.task.ParametersUnbound<T, S>)
.beforeAnyJobIsExecuted
in class Task<MultiInput,CSVWriter>
outputter
- the output-manager for the experiment (not for an individual job)concurrencyPlan
- available numbers of processors that can call Task.executeJob(org.anchoranalysis.experiment.task.ParametersUnbound<T, S>)
inputs
- a list of inputs, each will result in at least one call to Task.executeJob(ParametersUnbound)
.parameters
- the experiment-parameters.Task.executeJob(org.anchoranalysis.experiment.task.ParametersUnbound<T, S>)
and to Task.afterAllJobsAreExecuted(S, org.anchoranalysis.io.output.outputter.InputOutputContext)
.ExperimentExecutionException
- if a fatal error occurs executing this step of the
experiment.public InputTypesExpected inputTypesExpected()
Task
This is usually the class of T (or sometimes the absolute base class InputFromManager).
inputTypesExpected
in class Task<MultiInput,CSVWriter>
public void doJobOnInput(InputBound<MultiInput,CSVWriter> input) throws JobExecutionException
Task
doJobOnInput
in class Task<MultiInput,CSVWriter>
input
- the input for the job.JobExecutionException
- if an error occurs executing a particular job, that is not
otherwise suppressed.public void afterAllJobsAreExecuted(CSVWriter writer, InputOutputContext context) throws ExperimentExecutionException
Task
Task.executeJob(org.anchoranalysis.experiment.task.ParametersUnbound<T, S>)
.afterAllJobsAreExecuted
in class Task<MultiInput,CSVWriter>
writer
- the shared-statecontext
- IO-context for experiment (not for an individual job)ExperimentExecutionException
- if a fatal error occurs executing this step of the
experiment.public OutputEnabledMutable defaultOutputs()
Task
defaultOutputs
in class Task<MultiInput,CSVWriter>
public boolean hasVeryQuickPerInputExecution()
Task
hasVeryQuickPerInputExecution
in class Task<MultiInput,CSVWriter>
public DefineOutputter getDefine()
public void setDefine(DefineOutputter define)
public List<ReportFeature<ImageInitialization>> getListReportFeatures()
public void setListReportFeatures(List<ReportFeature<ImageInitialization>> listReportFeatures)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.