matflow.ElementAction#

class matflow.ElementAction(element_iteration, action_idx, runs)#

Bases: ElementAction

Methods

get

get_data_idx

get_parameter_names

Get parameter types associated with a given prefix.

get_parameter_sources

Attributes

action

action_idx

app

element

element_iteration

input_files

inputs

num_runs

output_files

outputs

runs

task

property action#
property action_idx#
app = App(name='MatFlow', version='0.3.0a129')#
property element#
property element_iteration#
get(path=None, run_idx=-1, default=None, raise_on_missing=False, raise_on_unset=False)#
Parameters:
  • path (str) –

  • run_idx (int) –

  • default (Any) –

  • raise_on_missing (bool) –

  • raise_on_unset (bool) –

get_data_idx(path=None, run_idx=-1)#
Parameters:
  • path (str) –

  • run_idx (int) –

get_parameter_names(prefix)#

Get parameter types associated with a given prefix.

For inputs, labels are ignored. See Action.get_parameter_names for more information.

Parameters:

prefix (str) – One of “inputs”, “outputs”, “input_files”, “output_files”.

Return type:

List[str]

get_parameter_sources(path=None, run_idx=-1, typ=None, as_strings=False, use_task_index=False)#
Parameters:
  • path (str) –

  • run_idx (int) –

  • typ (str) –

  • as_strings (bool) –

  • use_task_index (bool) –

property input_files#
property inputs#
property num_runs#
property output_files#
property outputs#
property runs#
property task#