Commit 3eeebe1a authored by Duggan, John's avatar Duggan, John
Browse files

Prevent duplicate filenames when a file matches multiple extensions

parent 382c8da7
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
### nova-trame, 0.25.5

* NeutronDataSelector will no longer show duplicates of a file that matches multiple extensions (thanks to John Duggan).

### nova-trame, 0.25.4

* InputField, FileUpload, and RemoteFileInput should support parameter bindings now (thanks to John Duggan).
+1 −1
Original line number Diff line number Diff line
[project]
name = "nova-trame"
version = "0.25.4"
version = "0.25.5"
description = "A Python Package for injecting curated themes and custom components into Trame applications"
authors = [
    { name = "John Duggan", email = "dugganjw@ornl.gov" },
+1 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ class DataSelectorModel:
                        for extension in self.state.extensions:
                            if entry.path.lower().endswith(extension):
                                datafiles.append(entry.path)
                                break
                    else:
                        datafiles.append(entry.path)
        except OSError: