Unverified Commit 44f574e2 authored by Duggan, John's avatar Duggan, John Committed by GitHub
Browse files

Merge pull request #140 from...

Merge pull request #140 from nova-model/139-neutrondataselector---fix-duplicate-files-in-the-list-when-extensions-have-overlap

Prevent duplicate filenames when a file matches multiple extensions
parents 382c8da7 3eeebe1a
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: