Skip to content

Commit

Permalink
add sanity check when importing data from a dictionary
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Borreguero <[email protected]>
  • Loading branch information
jmborr committed Feb 16, 2024
1 parent fdc3d1f commit 4d39d5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reduction/lr_reduction/reduction_template_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
------
Expand Down

0 comments on commit 4d39d5e

Please sign in to comment.