Skip to content

Commit

Permalink
compare: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vallsv committed Oct 2, 2023
1 parent 4bd043f commit 252a021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/silx/app/compare/CompareImagesWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def readData(self, urlPath: str):

if data.ndim == 2:
return data
if data.ndim == 3 and data.shape[0] in set(3, 4):
if data.ndim == 3 and data.shape[0] in set([3, 4]):
return data

raise ValueError(f"URL '{urlPath}' does not link to an numpy image")
Expand Down

0 comments on commit 252a021

Please sign in to comment.