Skip to content

Commit

Permalink
Ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
domna committed Jul 19, 2024
1 parent 3f14431 commit 10c363d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pynxtools/dataconverter/readers/multi/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ def try_convert(value: str) -> Union[str, float, int, bool]:
)

# after filling, resolve links again:
if isinstance(new_entry_dict.get(key), str) and new_entry_dict[key].startswith(
"@link:"
):
if isinstance(new_entry_dict.get(key), str) and new_entry_dict[
key
].startswith("@link:"):
new_entry_dict[key] = {"link": new_entry_dict[key][6:]}

# remove groups that have main keys missing
Expand Down

0 comments on commit 10c363d

Please sign in to comment.