Skip to content

Commit ed01790

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent af55533 commit ed01790

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

reproschema/tests/test_rs2redcap_redcap2rs.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,13 @@ def compare_protocols(prot_tree_orig, prot_tree_final):
263263
# If original is True and final is None/missing, don't count as error
264264
pass
265265
elif orig_value is not None:
266-
if normalize_condition(orig_value) != normalize_condition(final_value):
266+
if normalize_condition(
267+
orig_value
268+
) != normalize_condition(final_value):
267269
error = True
268-
elif final_value is not None and final_value is not True:
270+
elif (
271+
final_value is not None and final_value is not True
272+
):
269273
error = True
270274

271275
if error:

0 commit comments

Comments
 (0)