Skip to content

Commit

Permalink
changed output of validate_dict_against from list to tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
GinzburgLev committed Jan 27, 2025
1 parent c57d751 commit 42c1430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pynxtools/dataconverter/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def check_attributes_of_nonexisting_field() -> list:
)

keys_to_remove = check_attributes_of_nonexisting_field()
return [not collector.has_validation_problems(), keys_to_remove]
return (not collector.has_validation_problems(), keys_to_remove)


def populate_full_tree(node: NexusNode, max_depth: Optional[int] = 5, depth: int = 0):
Expand Down

0 comments on commit 42c1430

Please sign in to comment.