Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-amber
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
parser-amber
Commits
0865874d
Commit
0865874d
authored
5 years ago
by
Markus Scheidgen
Browse files
Options
Downloads
Patches
Plain Diff
Adapted to nomad-fair.
parent
6656ac16
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
amberparser/AMBERCommon.py
+5
-4
5 additions, 4 deletions
amberparser/AMBERCommon.py
amberparser/AMBERParser.py
+1
-0
1 addition, 0 deletions
amberparser/AMBERParser.py
amberparser/MetaInfoStorage.py
+0
-749
0 additions, 749 deletions
amberparser/MetaInfoStorage.py
with
6 additions
and
753 deletions
amberparser/AMBERCommon.py
+
5
−
4
View file @
0865874d
...
...
@@ -19,12 +19,13 @@ from nomadcore.caching_backend import CachingLevel
from
nomadcore.simple_parser
import
mainFunction
from
nomadcore.simple_parser
import
SimpleMatcher
as
SM
from
.AMBERDictionary
import
get_unitDict
,
get_nameListDict
,
get_fileListDict
,
set_excludeList
,
set_includeList
from
.
MetaInfoStorage
import
COMMON_META_INFO_PATH
,
PUBLIC_META_INFO_PATH
from
.
import
MetaInfoStorage
as
mStore
from
MetaInfoStorage
import
COMMON_META_INFO_PATH
,
PUBLIC_META_INFO_PATH
import
MetaInfoStorage
as
mStore
import
logging
import
json
import
os
import
re
import
metainfo
PARSERNAME
=
"
AMBER
"
PROGRAMNAME
=
"
amber
"
...
...
@@ -38,8 +39,8 @@ PARSER_INFO_DEFAULT = {
}
META_INFO_PATH
=
os
.
path
.
normpath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)),
"
../../../../nomad-meta-info/meta_info/nomad_meta_info/
amber.nomadmetainfo.json
"
))
os
.
path
.
dirname
(
os
.
path
.
abspath
(
metainfo
.
__file__
)),
"
amber.nomadmetainfo.json
"
))
LOGGER
=
logging
.
getLogger
(
"
nomad.AMBERParser
"
)
...
...
This diff is collapsed.
Click to expand it.
amberparser/AMBERParser.py
+
1
−
0
View file @
0865874d
...
...
@@ -1063,6 +1063,7 @@ class AMBERParserInterface():
backend
=
self
.
backend_factory
(
"
amber.nomadmetainfo.json
"
)
parserInfo
=
{
'
name
'
:
'
amber-parser
'
,
'
version
'
:
'
1.0
'
}
context
=
AMBERParser
()
context
.
coverageIgnore
=
re
.
compile
(
r
"
^(?:
"
+
r
"
|
"
.
join
(
context
.
coverageIgnoreList
)
+
r
"
)$
"
)
with
patch
.
object
(
sys
,
'
argv
'
,
[
'
<exe>
'
,
'
--uri
'
,
'
nmd://uri
'
,
mainfile
]):
mainFunction
(
mainFileDescription
=
context
.
mainFileDescription
(),
...
...
This diff is collapsed.
Click to expand it.
amberparser/MetaInfoStorage.py
deleted
100644 → 0
+
0
−
749
View file @
6656ac16
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment