MekTrial#
- class pyCGM2.Mek.mek.mekStore.MekTrial(store, group_name, group)#
A trial (c3d file) stored in
Trials/<name>-<hash>.- __init__(store, group_name, group)#
Methods
__init__(store, group_name, group)List the document references related to the trial.
list of str: Environment hashes of the processings of the trial.
jobs()list of
MekJob: Executions of the pipe on this trial, oldest first.processing([pipeline, environment, latest])Return a single processing.
processings([pipeline, environment])List the processings of the trial, oldest first (those without log first).
query()MekQueryrooted on the raw trial content (Format/...).Attributes
measurement_typepath- documents()#
List the document references related to the trial.
- Returns:
list of dict –
path,Id,Type,Signatureandrelates(``RelatesToKey`` / ``RelatesToValues`` as a dict).
- environment_hashes()#
list of str: Environment hashes of the processings of the trial.
- processing(pipeline=None, environment=None, latest=False)#
Return a single processing.
- Parameters:
pipeline (str, optional) – Glob on the pipeline id.
environment (str, optional) – Environment hash or prefix.
latest (bool) – If several match, return the most recently run one instead of raising.
- Raises:
LookupError – No match, or several matches and
latestis False.
- processings(pipeline=None, environment=None)#
List the processings of the trial, oldest first (those without log first).
- Parameters:
pipeline (str, optional) – Glob on the pipeline id, with or without version (e.g.
"maneck.forcePlateTests*").environment (str, optional) – Environment hash or prefix.
- query()#
MekQueryrooted on the raw trial content (Format/...).