Skip to content

Commit

Permalink
Fixes a lookup error when keys have been filled in template with a di…
Browse files Browse the repository at this point in the history
…fferent name
  • Loading branch information
sherjeelshabih committed Jan 18, 2024
1 parent 669dc52 commit faa2792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynxtools/dataconverter/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def all_required_children_are_set(optional_parent_path, data, nxdl_root):
if (
nxdl_key[0 : nxdl_key.rfind("/")] == optional_parent_path
and is_node_required(nxdl_key, nxdl_root)
and data[key] is None
and data[path_in_data_dict(nxdl_key, data)[1]] is None
):
return False

Expand Down

0 comments on commit faa2792

Please sign in to comment.