From c2ba7aafe8004dd18bba678eaa0777b1959251c3 Mon Sep 17 00:00:00 2001 From: Kay Robbins <1189050+VisLab@users.noreply.github.com> Date: Mon, 12 Jun 2023 14:49:09 -0500 Subject: [PATCH] Updated the docs to experiment --- hed/tools/remodeling/operations/factor_hed_tags_op.py | 6 +++--- hed/tools/remodeling/operations/factor_hed_type_op.py | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/hed/tools/remodeling/operations/factor_hed_tags_op.py b/hed/tools/remodeling/operations/factor_hed_tags_op.py index ee8cf3df..f3ae8cd2 100644 --- a/hed/tools/remodeling/operations/factor_hed_tags_op.py +++ b/hed/tools/remodeling/operations/factor_hed_tags_op.py @@ -47,15 +47,15 @@ def __init__(self, parameters): KeyError - If a required parameter is missing. - + | - If an unexpected parameter is provided. TypeError - If a parameter has the wrong type. ValueError - - If the specification is missing a valid operation. - + - If the specification is missing a valid operation. + | - If the length of query names is not empty and not same length as queries. - If there are duplicate query names. diff --git a/hed/tools/remodeling/operations/factor_hed_type_op.py b/hed/tools/remodeling/operations/factor_hed_type_op.py index 0a61974e..73654bfb 100644 --- a/hed/tools/remodeling/operations/factor_hed_type_op.py +++ b/hed/tools/remodeling/operations/factor_hed_type_op.py @@ -36,13 +36,14 @@ def __init__(self, parameters): parameters (dict): Actual values of the parameters for the operation. Raises: - KeyError - - If a required parameter is missing. - - If an unexpected parameter is provided. + KeyError + - If a required parameter is missing. + | + - If an unexpected parameter is provided. TypeError - If a parameter has the wrong type. - + ValueError - If the specification is missing a valid operation.