Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp disable sbml validation #83

Merged
merged 1 commit into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Java CI with Maven

on:
push:
branches: [ master, development, experimental, osb* ]
branches: [ master, development, experimental, osb*, test* ]
pull_request:
branches: [ master, development, experimental, osb* ]
branches: [ master, development, experimental, osb*, test* ]

jobs:
build_and_test:
Expand Down
16 changes: 8 additions & 8 deletions src/test/java/org/neuroml/export/sbml/SBMLWriterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ public void testGetMainScript1() throws LEMSException, IOException, GenerationEx

}/*
* public void testGetMainScript2() throws ContentError, ParseError, ParseException, BuildException, XMLException, IOException, SAXException, ConnectionError, RuntimeError, GenerationException {
*
*
* String exampleFilename = "/home/padraig/git/HindmarshRose1984/NeuroML2/Run_Regular_HindmarshRose.xml"; Lems lems = Utils.readLemsNeuroMLFile(new File(exampleFilename)).getLems();
* generateSBMLAndTestScript(lems, "Run_Regular_HindmarshRose.xml");
*
*
* }
*
*
* public void testGetMainScript3() throws ContentError, ParseError, ParseException, BuildException, XMLException, IOException, SAXException, ConnectionError, RuntimeError {
*
*
* String exampleFilename = "LEMS_NML2_Ex0_IaF.xml"; Lems lems = AppTest.readLemsFileFromExamples(exampleFilename);
*
*
* generateSBMLAndTestScript(lems, exampleFilename);
*
*
* }
*/

Expand All @@ -52,10 +52,10 @@ public void generateSBMLAndTestScript(Lems lems, String exampleFileName) throws

SBMLWriter sbmlw = new SBMLWriter(lems, UtilsTest.getTempDir(), exampleFileName.replaceAll("xml", "sbml"));
List<File> outputFiles = sbmlw.convert();

UtilsTest.checkConvertedFiles(outputFiles);

NeuroML2Validator.testValidity(outputFiles.get(0), LOCAL_SBML_SCHEMA);
//NeuroML2Validator.testValidity(outputFiles.get(0), LOCAL_SBML_SCHEMA);

File testSbmlFile = new File(UtilsTest.getTempDir(), exampleFileName.replaceAll("xml", "sh"));

Expand Down