From 4d39d5e31072af4d90eb83665a4db175d947164e Mon Sep 17 00:00:00 2001 From: Jose Borreguero Date: Fri, 16 Feb 2024 14:17:52 -0500 Subject: [PATCH] add sanity check when importing data from a dictionary Signed-off-by: Jose Borreguero --- reduction/lr_reduction/reduction_template_reader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reduction/lr_reduction/reduction_template_reader.py b/reduction/lr_reduction/reduction_template_reader.py index e2cb180..804a8fe 100644 --- a/reduction/lr_reduction/reduction_template_reader.py +++ b/reduction/lr_reduction/reduction_template_reader.py @@ -66,7 +66,8 @@ def __init__(self): self.incident_medium_index_selected = 0 def from_dict(self, data_dict): - r"""Update object's attributes with a dictionary with entries of the type attribute_name: attribute_value. + r""" + Update object's attributes with a dictionary with entries of the type attribute_name: attribute_value. Raises ------