Skip to content

Commit

Permalink
fix: incorrect path list check when loading broken dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jan 24, 2025
1 parent fdb22fa commit b25f6e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
2.21.4
- fix: incorrect path list check when loading broken dataset
2.21.3
- enh: support displaying unnamed table data
- setup: bump dclab to 0.62.11
Expand Down
2 changes: 1 addition & 1 deletion shapeout2/gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def add_dataslot(self, paths=None, is_dcor=False):
try:
slot_id = self.pipeline.add_slot(path=path)
except BaseException:
if len(paths) == 1:
if len(fnames) == 1:
# Let the user know immediately
raise
else:
Expand Down

0 comments on commit b25f6e7

Please sign in to comment.