Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ext-edelen_a
pyOPALTools
Commits
5914d10a
Commit
5914d10a
authored
Nov 28, 2018
by
frey_m
Browse files
Output files generated by supercomputers normally end with '.o' and a number
parent
460a2d2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
opal/datasets/filetype.py
opal/datasets/filetype.py
+2
-0
No files found.
opal/datasets/filetype.py
View file @
5914d10a
...
...
@@ -65,6 +65,8 @@ class FileType(IntEnum):
elif
'time'
in
fname
.
lower
()
or
'timing'
in
fname
.
lower
():
# hopeful test for timing files
return
cls
.
TIMING
elif
'.o'
in
fname
:
return
cls
.
OUTPUT
elif
'-trackOrbit.dat'
in
fname
:
return
cls
.
TRACK_ORBIT
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment