Commit 1e2c16c9 authored by Berk Onat's avatar Berk Onat
Browse files

Add AMBER to Scala main and test routines

parent 0a09b531
......@@ -27,9 +27,10 @@ object AmberParser extends SimpleExternalParserGenerator(
"${mainFilePath}"),
resList = Seq(
"parser-amber/AMBERParser.py",
"parser-amber/AMBERDictionary.py",
"parser-amber/AMBERCommon.py",
"parser-amber/AMBERmdinParser.py",
"parser-amber/AMBERmdcrdParser.py",
"parser-amber/MetaInfoStorage.py",
"parser-amber/trajectory_reader.py",
"parser-amber/setup_paths.py",
"nomad_meta_info/public.nomadmetainfo.json",
"nomad_meta_info/common.nomadmetainfo.json",
......
......@@ -5,10 +5,10 @@ import org.specs2.mutable.Specification
object AmberParserTests extends Specification {
"AmberParserTest" >> {
"test with json-events" >> {
ParserRun.parse(AmberParser, "parsers/amber/test/examples/mdout", "json-events") must_== ParseResult.ParseSuccess
ParserRun.parse(AmberParser, "parsers/amber/test/examples/03_Prod.out", "json-events") must_== ParseResult.ParseSuccess
}
"test with json" >> {
ParserRun.parse(AmberParser, "parsers/amber/test/examples/mdout", "json") must_== ParseResult.ParseSuccess
ParserRun.parse(AmberParser, "parsers/amber/test/examples/03_prod.out", "json") must_== ParseResult.ParseSuccess
}
}
}
Supports Markdown
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