Skip to content

Commit

Permalink
Merge pull request #64 from sanctuuary/version_and_tests_update
Browse files Browse the repository at this point in the history
Fix tests and update version
  • Loading branch information
kretep authored May 28, 2024
2 parents af32ee3 + e61b16a commit 3bfdb1b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
| Badges | |
|:----:|----|
| **Fairness** | [![fair-software.eu](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F-green)](https://fair-software.eu) [![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/8082/badge)](https://www.bestpractices.dev/projects/8082) |
| **Packages and Releases** | [![Latest release](https://img.shields.io/github/release/sanctuuary/RESTAPE.svg)](https://github.com/sanctuuary/APE/releases/latest) [![Static Badge](https://img.shields.io/badge/RSD-RESTfulAPE-ape)](https://research-software-directory.org/software/restape) |
| **Packages and Releases** | [![Latest release](https://img.shields.io/github/release/sanctuuary/RESTAPE.svg)](https://github.com/sanctuuary/restape/releases/latest) [![Static Badge](https://img.shields.io/badge/RSD-RESTfulAPE-ape)](https://research-software-directory.org/software/restape) |
| **Build Status** | ![build](https://github.com/sanctuuary/RestAPE/actions/workflows/maven.yml/badge.svg) [![CodeQL](https://github.com/sanctuuary/restape/actions/workflows/codeql.yml/badge.svg)](https://github.com/sanctuuary/restape/actions/workflows/codeql.yml) |
| **Documentation** | [![Documentation Status](https://readthedocs.org/projects/ape-framework/badge/?version=latest)](https://ape-framework.readthedocs.io/en/latest/docs/restful-ape/introduction.html) |
| **DOI** | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10048236.svg)](https://doi.org/10.5281/zenodo.10048236) |
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>nl.esciencecenter</groupId>
<artifactId>restape</artifactId>
<version>0.3.2</version>
<version>0.3.3</version>
<name>restape</name>
<description>RESTful API for the APE library</description>
<licenses>
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/nl/esciencecenter/restape/ApeAPITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ class ApeAPITest {
*/
@Test
void runSynthesisFail() throws IOException, OWLOntologyCreationException {
String configPath = "https://raw.githubusercontent.com/Workflomics/domain-annotations/main/WombatP_tools/config_unsat.json";
String configPath = "https://raw.githubusercontent.com/Workflomics/domain-annotations/main/WombatP_tools/config.json";
String content = FileUtils.readFileToString(APEFiles.readPathToFile(configPath),
StandardCharsets.UTF_8);
JSONObject jsonObject = new JSONObject(content);
jsonObject.put("solutions", "1");
jsonObject.put("solution_length", new JSONObject().put("min", 1).put("max", 1));
List<APEWorkflowMetadata> result = ApeAPI.runSynthesis(jsonObject, false);
assertTrue(result.isEmpty(), "The encoding should be UNSAT.");
}
Expand Down

0 comments on commit 3bfdb1b

Please sign in to comment.