workflow#
- pyleem.workflow.get_reader_paths(reader_content, root)[source]#
Return reader paths resolved against the workflow root.
- pyleem.workflow.get_metadata_list(reader_content, length)[source]#
Return the metadata list from the reader content.
Allow configuration to apply the same metadata to all readers. The individual reader metadata overrides the overall metadata. The behavior is allowed but not recommended.
- class pyleem.workflow.Workflow(config=None, root=None, **kwargs)[source]#
Bases:
objectBuild and run analyzers from Config content.
The workflow requires the analyzer to always take readers, roi, and allows additional kwargs.
The workflow only runs the analyze method of the analyzer. If the result contains content that are not pickleable, the analyzer should specify the result keys to save.