From a2073b392c61543533284c3f99b35450e2643d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20M=C3=BCller?= Date: Wed, 22 Nov 2023 22:59:56 +0100 Subject: [PATCH] enh: add dcnum pipeline identifier metadata constants --- CHANGELOG | 2 ++ dclab/definitions/meta_const.py | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index be4c0d53..985e8731 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,5 @@ +0.55.7 + - enh: add dcnum pipeline identifier metadata constants 0.55.6 - fix: default `host` was overriding URL host in fmt_dcor 0.55.5 diff --git a/dclab/definitions/meta_const.py b/dclab/definitions/meta_const.py index efce9c9f..8282e8f8 100644 --- a/dclab/definitions/meta_const.py +++ b/dclab/definitions/meta_const.py @@ -125,6 +125,19 @@ ["target duration", float, "Target measurement duration [min]"], ["target event count", fint, "Target event count for online gating"], ], + # Data processing pipeline + "pipeline": [ + ["dcnum background", str, "Background ID"], + ["dcnum data", str, "Data ID"], + ["dcnum feature", str, "Feature extractor ID"], + ["dcnum gate", str, "Gating ID"], + ["dcnum generation", str, "Generation ID"], + # The hash is computed by joining the other pipeline identifiers with + # the "|" character in this order: generation, data, background, + # segmenter, feature, gate. + ["dcnum hash", str, "Hash"], + ["dcnum segmenter", str, "Segmenter ID"], + ], # All qpi-related keywords "qpi": [ # experiment-related qpi metadata, see qpretrieve for details