Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-gulp
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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-gulp
Commits
3b199d1f
Commit
3b199d1f
authored
6 years ago
by
Daniel Speckhard
Browse files
Options
Downloads
Patches
Plain Diff
removed src directory.
parent
ceb9a09e
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/scala/eu/nomad_lab/parsers/GulpParser.scala
+0
-65
0 additions, 65 deletions
src/main/scala/eu/nomad_lab/parsers/GulpParser.scala
src/test/scala/eu/nomad_lab/parsers/GulpParserSpec.scala
+0
-459
0 additions, 459 deletions
src/test/scala/eu/nomad_lab/parsers/GulpParserSpec.scala
with
0 additions
and
524 deletions
src/main/scala/eu/nomad_lab/parsers/GulpParser.scala
deleted
100644 → 0
+
0
−
65
View file @
ceb9a09e
/*
* Copyright 2016-2018 Ask Hjorth Larsen, Fawzi Mohamed
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
eu.nomad_lab.parsers
import
eu.
{
nomad_lab
=>
lab
}
import
eu.nomad_lab.DefaultPythonInterpreter
import
org.
{
json4s
=>
jn
}
import
scala.collection.breakOut
object
GulpParser
extends
SimpleExternalParserGenerator
(
name
=
"GulpParser"
,
parserInfo
=
jn
.
JObject
(
(
"name"
->
jn
.
JString
(
"GulpParser"
))
::
(
"parserId"
->
jn
.
JString
(
"GulpParser"
+
lab
.
GulpVersionInfo
.
version
))
::
(
"versionInfo"
->
jn
.
JObject
(
(
"nomadCoreVersion"
->
jn
.
JObject
(
lab
.
NomadCoreVersionInfo
.
toMap
.
map
{
case
(
k
,
v
)
=>
k
->
jn
.
JString
(
v
.
toString
)
}(
breakOut
)
:
List
[(
String
,
jn.JString
)]))
::
(
lab
.
GulpVersionInfo
.
toMap
.
map
{
case
(
key
,
value
)
=>
(
key
->
jn
.
JString
(
value
.
toString
))
}(
breakOut
)
:
List
[(
String
,
jn.JString
)])
))
::
Nil
),
mainFileTypes
=
Seq
(
"text/.*"
),
mainFileRe
=
"""\s*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\**\s*
\s*\*\s*GENERAL UTILITY LATTICE PROGRAM\s*\*\s*
\s*\*\s*Julian Gale\s*\*\s*
\s*\*\s*Nanochemistry Research Institute\s*\*\s*
\s*\*\s*Department of Chemistry\s*\*\s*
\s*\*\s*Curtin University, Western Australia\s*\*\s*
\s*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\**\s*
"""
.
r
,
cmd
=
Seq
(
DefaultPythonInterpreter
.
pythonExe
(),
"${envDir}/parsers/gulp/parser/parser-gulp/main.py"
,
"--uri"
,
"${mainFileUri}"
,
"${mainFilePath}"
),
resList
=
Seq
(
"parser-gulp/main.py"
,
"parser-gulp/spacegroups.py"
,
"parser-gulp/setup_paths.py"
,
"nomad_meta_info/public.nomadmetainfo.json"
,
"nomad_meta_info/common.nomadmetainfo.json"
,
"nomad_meta_info/meta_types.nomadmetainfo.json"
,
"nomad_meta_info/gulp.nomadmetainfo.json"
)
++
DefaultPythonInterpreter
.
commonFiles
(),
dirMap
=
Map
(
"parser-gulp"
->
"parsers/gulp/parser/parser-gulp"
,
"nomad_meta_info"
->
"nomad-meta-info/meta_info/nomad_meta_info"
,
"python"
->
"python-common/common/python/nomadcore"
)
++
DefaultPythonInterpreter
.
commonDirMapping
(),
metaInfoEnv
=
Some
(
lab
.
meta
.
KnownMetaInfoEnvs
.
gulp
)
)
This diff is collapsed.
Click to expand it.
src/test/scala/eu/nomad_lab/parsers/GulpParserSpec.scala
deleted
100644 → 0
+
0
−
459
View file @
ceb9a09e
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