Scheduled maintenance on Monday 2019-06-24 between 10:00-11:00 CEST

Commit 90282e06 authored by ankit kariryaa's avatar ankit kariryaa

Add parserId and versionInfo in parserInfo

parent 74fc568d
package eu.nomad_lab.parsers
import eu.{nomad_lab=>lab}
import eu.nomad_lab.DefaultPythonInterpreter
import org.{json4s => jn}
import scala.collection.breakOut
object GaussianParser extends SimpleExternalParserGenerator(
name = "GaussianParser",
parserInfo = jn.JObject(
("name" -> jn.JString("GaussianParser")) ::
("version" -> jn.JString("1.0")) :: Nil),
("parserId" -> jn.JString("GaussianParser" + lab.GaussianVersionInfo.version)) ::
("versionInfo" -> jn.JObject(
("nomadCoreVersion" -> jn.JString(lab.NomadCoreVersionInfo.version)) ::
(lab.GaussianVersionInfo.toMap.map{ case (key, value) =>
(key -> jn.JString(value.toString))
}(breakOut): List[(String, jn.JString)])
)) :: Nil
),
mainFileTypes = Seq("text/.*"),
mainFileRe = """\s*Gaussian, Inc\. All Rights Reserved\.\s*
\s*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment