From 5fa3147ff046536156cdfa7f7927439d03c33e3f Mon Sep 17 00:00:00 2001 From: "Mitja M. Zdouc" Date: Sat, 9 Nov 2024 09:20:41 +0100 Subject: [PATCH 1/2] v1.5.1 bugfixes --- CHANGELOG.md | 9 ++++++++- mite_schema/schema/definitions/citation.json | 2 +- mite_schema/schema/definitions/reactions.json | 3 +-- pyproject.toml | 4 ++-- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 665fa50..9ac2b74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.5.1] 09-11-2024 + +- Reaction: made "description" of reaction examples optional for backward compatibility +- Made DOI pattern matching less stringent + +### Changed + ## [1.5.0] 08-11-2024 ### Changed @@ -61,4 +68,4 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Changed -- All schema elements are now served locally (before: 'changelog.json' and 'citation.json' were taken from MIBiG repository) \ No newline at end of file +- All schema elements are now served locally (before: 'changelog.json' and 'citation.json' were taken from MIBiG repository) diff --git a/mite_schema/schema/definitions/citation.json b/mite_schema/schema/definitions/citation.json index 4f1a66f..92cc31e 100644 --- a/mite_schema/schema/definitions/citation.json +++ b/mite_schema/schema/definitions/citation.json @@ -3,7 +3,7 @@ "type": "string", "oneOf": [ { - "pattern": "^doi:10\\.\\d{4,9}/[-\\._;()/:a-zA-Z0-9]+$" + "pattern": "^doi:10\\." } ] } diff --git a/mite_schema/schema/definitions/reactions.json b/mite_schema/schema/definitions/reactions.json index fe953d6..1102fea 100644 --- a/mite_schema/schema/definitions/reactions.json +++ b/mite_schema/schema/definitions/reactions.json @@ -87,8 +87,7 @@ "required": [ "substrate", "products", - "isIntermediate", - "description" + "isIntermediate" ], "properties": { "substrate": { diff --git a/pyproject.toml b/pyproject.toml index 055c764..d36112d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "mite_schema" -version = "1.5.0" +version = "1.5.1" description = "Containing the Minimum Information about a Tailoring Enzymes schema and auxiliary methods" readme = "README.md" requires-python = ">=3.11" @@ -114,4 +114,4 @@ ignore = [ "E501", # mixed-case-variable-in-class-scope "N815" -] \ No newline at end of file +] From ca2085962a0d14381c4623ee7da47f35313154a2 Mon Sep 17 00:00:00 2001 From: "Mitja M. Zdouc" Date: Sat, 9 Nov 2024 09:24:54 +0100 Subject: [PATCH 2/2] Fixed changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ac2b74..6f043fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [1.5.1] 09-11-2024 +### Changed + - Reaction: made "description" of reaction examples optional for backward compatibility - Made DOI pattern matching less stringent -### Changed - ## [1.5.0] 08-11-2024 ### Changed