Skip to content

Commit

Permalink
Merge pull request #3943 from lesaintjerome/patch-1
Browse files Browse the repository at this point in the history
Issue #3942 - silx compare typo
  • Loading branch information
vallsv authored Oct 2, 2023
2 parents 4bd043f + e912d5e commit 98bb6b9
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 98bb6b9

Please sign in to comment.