Skip to content
GitLab
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
373e203d
Commit
373e203d
authored
May 11, 2019
by
Markus Scheidgen
Browse files
Made the mpes parser matching more specific.
parent
abb797ce
Pipeline
#48117
passed with stages
in 17 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nomad/parsing/__init__.py
View file @
373e203d
...
...
@@ -370,7 +370,8 @@ parsers = [
name
=
'parsers/mpes'
,
code_name
=
'mpes'
,
domain
=
'EMS'
,
parser_class_name
=
'mpesparser.MPESParserInterface'
,
mainfile_mime_re
=
r
'(application/json)|(text/.*)'
,
mainfile_name_re
=
(
r
'.*_data.meta'
)
mainfile_name_re
=
(
r
'.*_data.meta'
),
mainfile_contents_re
=
(
r
'"data_repository_name": "zenodo.org"'
)
),
LegacyParser
(
name
=
'parsers/aptfim'
,
code_name
=
'mpes'
,
domain
=
'EMS'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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