diff --git a/src/main/java/edu/ucsd/sbrg/miriam/RegistryParser.java b/src/main/java/edu/ucsd/sbrg/miriam/RegistryParser.java index 4c3033e0..69e8e791 100644 --- a/src/main/java/edu/ucsd/sbrg/miriam/RegistryParser.java +++ b/src/main/java/edu/ucsd/sbrg/miriam/RegistryParser.java @@ -6,6 +6,7 @@ import java.util.List; import java.util.logging.Logger; +import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import edu.ucsd.sbrg.miriam.models.Miriam; @@ -35,6 +36,7 @@ public static RegistryParser getInstance() { Miriam parse() throws IOException { logger.fine("Parsing MIRIAM registry"); ObjectMapper mapper = new ObjectMapper(); + mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); Root root = mapper.readValue(registry, Root.class); List namespaces = root.getPayload().get("namespaces"); HashMap prefixIndexedNamespaces = new HashMap<>();