mpas_analysis.shared.analysis_task.AnalysisTask.check_generate¶
-
AnalysisTask.
check_generate
(self)[source]¶ Determines if this analysis should be generated, based on the
generate
config option andtaskName
,componentName
andtags
.Individual tasks do not need to create their own versions of this function.
- Returns
- generatebool
Whether or not this task should be run.
- Raises
- ValueErrorIf one of
self.taskName
,self.componentName
or
self.tags
has not been set.
- ValueErrorIf one of