We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df006c5 commit 64de0a0Copy full SHA for 64de0a0
1 file changed
src/e3sm_quickview/components/file_browser.py
@@ -1,9 +1,11 @@
1
import json
2
import re
3
from pathlib import Path
4
+
5
from paraview import simple
-from trame.widgets import vuetify3 as v3, html
6
from trame.app import TrameComponent
7
+from trame.widgets import html
8
+from trame.widgets import vuetify3 as v3
9
10
DIRECTORY = dict(icon="mdi-folder", type="directory")
11
GROUP = dict(icon="mdi-file-document-multiple-outline", type="group")
@@ -108,6 +110,8 @@ def listing(self):
108
110
]
109
111
for file_name in file_listing:
112
f = self._current_path / file_name
113
+ if not f.exists():
114
+ continue
115
stats = f.stat()
116
117
# Group or file?
0 commit comments