Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
b0acf249
Commit
b0acf249
authored
Mar 31, 2020
by
Markus Scheidgen
Browse files
A normalizer failure, still allows to complete the processing.
parent
9a070b14
Changes
1
Hide whitespace changes
Inline
Side-by-side
nomad/processing/data.py
View file @
b0acf249
...
...
@@ -419,8 +419,9 @@ class Calc(Proc):
normalizer
(
backend
).
normalize
(
logger
=
logger
)
except
Exception
as
e
:
self
.
_parser_backend
.
finishedParsingSession
(
'ParseFailure'
,
[
str
(
e
)])
self
.
fail
(
'normalizer failed with exception'
,
exc_info
=
e
,
error
=
str
(
e
),
**
context
)
logger
.
error
(
'normalizer failed with exception'
,
exc_info
=
e
,
error
=
str
(
e
),
**
context
)
break
else
:
if
self
.
_parser_backend
.
status
[
0
]
!=
'ParseSuccess'
:
...
...
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