hpcflow.app.WorkflowLoop#

class hpcflow.app.WorkflowLoop(index, workflow, template, num_added_iterations, iterable_parameters)#

Bases: WorkflowLoop

Class to represent a Loop that is bound to a Workflow.

Methods

add_iteration

get_child_loops

Get loops whose task subset is a subset of this loop's task subset.

get_parent_loops

Get loops whose task subset is a superset of this loop's task subset.

new_empty_loop

Attributes

app

index

iterable_parameters

name

num_added_iterations

num_iterations

task_indices

Get the list of task indices that define the extent of the loop.

task_insert_IDs

task_objects

template

workflow

Parameters:
add_iteration(parent_loop_indices=None)#
app = BaseApp(name='hpcFlow', version='0.2.0a62')#
get_child_loops()#

Get loops whose task subset is a subset of this loop’s task subset. If two loops have identical task subsets, the first loop in the workflow loop index is considered the parent.

Return type:

List[WorkflowLoop]

get_parent_loops()#

Get loops whose task subset is a superset of this loop’s task subset. If two loops have identical task subsets, the first loop in the workflow loop index is considered the parent.

Return type:

List[WorkflowLoop]

property index#
property iterable_parameters#
property name#
classmethod new_empty_loop(index, workflow, template)#
Parameters:
property num_added_iterations#
property num_iterations#
property task_indices: Tuple[int]#

Get the list of task indices that define the extent of the loop.

property task_insert_IDs#
property task_objects#
property template#
property workflow#