mpas_analysis.shared.analysis_task.AnalysisTask.check_generate¶
-
AnalysisTask.check_generate(self)[source]¶ Determines if this analysis should be generated, based on the
generateconfig option andtaskName,componentNameandtags.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.tagshas not been set.
- ValueErrorIf one of