Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron Hildebrandt authored and Ron Hildebrandt committed Nov 12, 2024
1 parent 2b8ffcf commit 1e76ab3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pynxtools/dataconverter/readers/multi/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,9 @@ def get_processing_order(path: str) -> Tuple[int, Union[str, int]]:
logger.warning(f"File {file_path} does not exist, ignoring entry.")
continue
if self.extensions.get(extension, lambda _: {})(file_path) is None:
logger.warning(f"Function for parsing file type with extension '{extension}' not found.")
logger.warning(
f"Function for parsing file type with extension '{extension}' not found."
)
if self.extensions.get(extension, lambda _: {})(file_path) is not None:
template.update(self.extensions.get(extension, lambda _: {})(file_path))

Expand Down

0 comments on commit 1e76ab3

Please sign in to comment.