From baace50d4a3e36536aab6de38bfb797c8f1030d2 Mon Sep 17 00:00:00 2001 From: Philipp Schmidt <philipp.schmidt@xfel.eu> Date: Tue, 20 Feb 2024 14:32:59 +0100 Subject: [PATCH] Allow pipelines to be part of nodes in DataFile API --- src/cal_tools/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cal_tools/files.py b/src/cal_tools/files.py index 91766f066..cb0d527c0 100644 --- a/src/cal_tools/files.py +++ b/src/cal_tools/files.py @@ -107,7 +107,7 @@ class DataFile(h5py.File): filename_format = '{prefix}-R{run:04d}-{aggregator}-S{sequence:05d}.h5' aggregator_pattern = re.compile(r'^[A-Z]{2,}\d{2}$') - instrument_source_pattern = re.compile(r'^[\w\/-]+:\w+$') + instrument_source_pattern = re.compile(r'^[\w\/-]+:[\w.]+$') def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) -- GitLab