diff --git a/README.md b/README.md index 10aa40f..16505aa 100644 --- a/README.md +++ b/README.md @@ -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) | diff --git a/pom.xml b/pom.xml index 59bfe54..d1d9c80 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ nl.esciencecenter restape - 0.3.2 + 0.3.3 restape RESTful API for the APE library diff --git a/src/test/java/nl/esciencecenter/restape/ApeAPITest.java b/src/test/java/nl/esciencecenter/restape/ApeAPITest.java index c80b5ed..6c2cce0 100644 --- a/src/test/java/nl/esciencecenter/restape/ApeAPITest.java +++ b/src/test/java/nl/esciencecenter/restape/ApeAPITest.java @@ -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 result = ApeAPI.runSynthesis(jsonObject, false); assertTrue(result.isEmpty(), "The encoding should be UNSAT."); }