MekProcessing#

class pyCGM2.Mek.mek.mekStore.MekProcessing(trial, environment_hash, pipeline_id, group)#

Outputs of one pipeline run with one environment on one trial.

Located at Processings/<trial hash>/<environment hash>/<pipeline id>.

__init__(trial, environment_hash, pipeline_id, group)#

Methods

__init__(trial, environment_hash, ...)

diff_parameters(other)

Compare the parameters with another processing.

has(path)

bool: True if a dataset exists at the relative path.

jobs()

list of MekJob: Executions that wrote this processing, oldest first.

query()

MekQuery rooted on the processing outputs (paths like /ForcePlate/FP1/...).

read(path)

Read the dataset at a path relative to the processing (e.g. "ForcePlate/FP1/F_HO^LCS").

Attributes

date

Date of the last execution.

last_job

ok

Status of the last execution (None if no log).

parameters

Parameters of the processing (Environments/<env hash>/<pipeline id>).

path

pipeline_name

pipeline_version

store

property date#

Date of the last execution.

Type:

datetime or None

diff_parameters(other)#

Compare the parameters with another processing.

Returns:

dict – {name: (self value, other value)} for the parameters that differ.

has(path)#

bool: True if a dataset exists at the relative path.

jobs()#

list of MekJob: Executions that wrote this processing, oldest first.

property ok#

Status of the last execution (None if no log).

Type:

bool or None

property parameters#

Parameters of the processing (Environments/<env hash>/<pipeline id>).

Type:

dict

query()#

MekQuery rooted on the processing outputs (paths like /ForcePlate/FP1/...).

read(path)#

Read the dataset at a path relative to the processing (e.g. "ForcePlate/FP1/F_HO^LCS").