Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions hed/tools/remodeling/operations/factor_hed_tags_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,17 @@ def __init__(self, parameters):
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.

TypeError
- If a parameter has the wrong type.
:raises KeyError:
- If a required parameter is missing.
- If an unexpected parameter is provided.

ValueError
- If the specification is missing a valid operation.
|
- If the length of query names is not empty and not same length as queries.
:raises TypeError:
- If a parameter has the wrong type.

- If there are duplicate query names.
:raises ValueError:
- 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.

"""
super().__init__(self.PARAMS, parameters)
Expand Down