mpas_analysis.__main__.determine_analyses_to_generate¶
-
mpas_analysis.__main__.
determine_analyses_to_generate
(analyses, verbose)[source]¶ Build a list of analysis tasks to run based on the ‘generate’ config option (or command-line flag) and prerequisites and subtasks of each requested task. Each task’s
setup_and_check
method is called in the process.- Parameters
- analyseslist of
AnalysisTask
objects A list of all analysis tasks
- verbosebool
Whether to write out a full stack trace when exceptions occur during
setup_and_check()
calls for each task
- analyseslist of
- Returns
- analysesToGenerate
OrderedDict
ofAnalysisTask
objects A dictionary of analysis tasks to run
- analysesToGenerate