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
32a10acd
Commit
32a10acd
authored
May 11, 2019
by
Markus Scheidgen
Browse files
Integrated the aptfim parser.
parent
87c902d9
Pipeline
#48112
passed with stages
in 17 minutes and 32 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
aptfim
@
95b3874b
Compare
c0e93624
...
95b3874b
Subproject commit
c0e936246972c0fb98b9b9c96a67167f1725156f
Subproject commit
95b3874b72035d0529f7dd0cde419192dba68100
mpes
@
e772c6d9
Compare
ef3fe75d
...
e772c6d9
Subproject commit e
f3fe75d150b13d35abc5d9af9555708fbf3903f
Subproject commit e
772c6d954009d7b3419200ffd370f55fd62c1a4
gui/src/components/domains.js
View file @
32a10acd
...
...
@@ -141,7 +141,7 @@ class DomainProviderBase extends React.Component {
},
experiment_time
:
{
label
:
'
Date/Time
'
,
render
:
time
=>
new
Date
(
time
*
1000
).
toLocaleString
()
render
:
time
=>
time
!==
'
unavailable
'
?
new
Date
(
time
*
1000
).
toLocaleString
()
:
time
}
},
/**
...
...
gui/src/components/ems/EMSEntryOverview.js
View file @
32a10acd
...
...
@@ -26,19 +26,21 @@ export default class EMSEntryOverview extends React.Component {
return
(
<
Quantity
column
>
<
Quantity
quantity
=
"
experiment_summary
"
label
=
"
summary
"
noWrap
{...
this
.
props
}
/
>
<
Quantity
quantity
=
"
experiment_summary
"
label
=
"
summary
"
{...
this
.
props
}
/
>
<
Quantity
row
>
<
Quantity
column
>
<
Quantity
row
>
<
Quantity
quantity
=
"
formula
"
label
=
"
sample formula
"
noWrap
{...
this
.
props
}
/
>
<
Quantity
quantity
=
"
chemical
"
label
=
"
sample chemical
"
noWrap
{...
this
.
props
}
/
>
{
data
.
chemical
!==
'
unavailable
'
?
<
Quantity
quantity
=
"
chemical
"
label
=
"
sample chemical
"
noWrap
{...
this
.
props
}
/
>
:
''
}
<
/Quantity
>
<
Quantity
quantity
=
"
method
"
label
=
"
experimental method
"
noWrap
{...
this
.
props
}
/
>
<
Quantity
quantity
=
"
experiment_location
"
label
=
"
experiment location
"
noWrap
{...
this
.
props
}
/
>
<
Quantity
label
=
"
experiment time
"
{...
this
.
props
}
>
<
Typography
noWrap
>
{
new
Date
(
data
.
experiment_time
*
1000
).
toLocaleString
()
}
<
/Typography
>
<
Typography
noWrap
>
{
data
.
experiment_time
!==
'
unavailable
'
?
new
Date
(
data
.
experiment_time
*
1000
).
toLocaleString
()
:
'
unavailable
'
}
<
/Typography
>
<
/Quantity
>
<
Quantity
label
=
"
data
"
{...
this
.
props
}
>
<
Typography
noWrap
>
...
...
nomad/parsing/__init__.py
View file @
32a10acd
...
...
@@ -371,6 +371,12 @@ parsers = [
parser_class_name
=
'mpesparser.MPESParserInterface'
,
mainfile_mime_re
=
r
'(application/json)|(text/.*)'
,
mainfile_name_re
=
(
r
'.*_data.meta'
)
),
LegacyParser
(
name
=
'parsers/aptfim'
,
code_name
=
'mpes'
,
domain
=
'EMS'
,
parser_class_name
=
'aptfimparser.APTFIMParserInterface'
,
mainfile_mime_re
=
r
'(application/json)|(text/.*)'
,
mainfile_name_re
=
(
r
'.*.aptfim'
)
)
]
...
...
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