From b895f022cad1fefd28f735ad33b56f6c736c456f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Le=20Guyader?= <loic.le.guyader@xfel.eu> Date: Wed, 1 Apr 2020 11:28:39 +0200 Subject: [PATCH] Use extra-data-validate --- Load.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Load.py b/Load.py index df5bef2..fc98780 100644 --- a/Load.py +++ b/Load.py @@ -421,7 +421,7 @@ def load(fields, runNB, proposalNB, subFolder='raw', display=False, validate=Fal subFolder: (str) sub-folder from which to load the data. Use 'raw' for raw data or 'proc' for processed data. display: (bool) whether to show the run.info or not - validate: (bool) whether to run karabo-data-validate or not + validate: (bool) whether to run extra-data-validate or not subset: a subset of train that can be load with by_index[:5] for the first 5 trains rois: a dictionnary of mnemonics with a list of rois definition and the desired @@ -444,7 +444,7 @@ def load(fields, runNB, proposalNB, subFolder='raw', display=False, validate=Fal run = RunDirectory(runFolder).select_trains(subset) if validate: - get_ipython().system('karabo-data-validate ' + runFolder) + get_ipython().system('extra-data-validate ' + runFolder) if display: print('Loading data from {}'.format(runFolder)) run.info() -- GitLab