From 404aaf30ea25b7ece984beba4007517c9670aea8 Mon Sep 17 00:00:00 2001 From: David Christoffer Hansen Date: Mon, 1 May 2023 19:08:20 +0200 Subject: [PATCH] Updated schema to the latest version from ISMRMRD (#67) * Updated schema * Updated xsdata requirements * Updated conda * Update meta.yaml * Update meta.yaml * Update build.sh --- conda/build.sh | 1 - conda/meta.yaml | 4 ++- schema/ismrmrd.xsd | 82 ++++++++++++++++++++++++++++++++-------------- setup.py | 6 ++-- 4 files changed, 64 insertions(+), 29 deletions(-) diff --git a/conda/build.sh b/conda/build.sh index 16796e3..51ac1bd 100755 --- a/conda/build.sh +++ b/conda/build.sh @@ -1,5 +1,4 @@ #!/bin/bash set -euo pipefail - pip install . diff --git a/conda/meta.yaml b/conda/meta.yaml index f16e82b..022ef9d 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -13,6 +13,7 @@ requirements: - numpy>=1.22.0 - h5py>=2.3 - nose>=1.0 + - docformatter<=1.4 - xsdata>=22.2 run: @@ -20,6 +21,7 @@ requirements: - xsdata>=22.2 - numpy>=1.22.0 - h5py>=2.3 + - xsdata>=22.2 test: source_files: @@ -35,4 +37,4 @@ about: Python interface and utilities for the ISMRM Raw Data (ISMRMRD a.k.a. MRD) format. dev_url: https://github.com/ismrmrd/ismrmrd-python doc_url: https://github.com/ismrmrd/ismrmrd-python - doc_source_url: https://github.com/ismrmrd/ismrmrd-python/blob/main/README.md \ No newline at end of file + doc_source_url: https://github.com/ismrmrd/ismrmrd-python/blob/main/README.md diff --git a/schema/ismrmrd.xsd b/schema/ismrmrd.xsd index d07adbe..78bf187 100644 --- a/schema/ismrmrd.xsd +++ b/schema/ismrmrd.xsd @@ -22,7 +22,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -123,7 +123,6 @@ - @@ -134,13 +133,6 @@ - - - - - - - @@ -174,14 +166,6 @@ - - - - - - - - @@ -221,6 +205,7 @@ + @@ -233,22 +218,44 @@ - + + + - + + + + + + + + + + + + + + + + + + + + + - - - + + + @@ -295,6 +302,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -327,6 +360,7 @@ + @@ -349,4 +383,4 @@ - + \ No newline at end of file diff --git a/setup.py b/setup.py index 47324e4..a104ca6 100644 --- a/setup.py +++ b/setup.py @@ -58,7 +58,7 @@ def to_uri(filename): setup( name='ismrmrd', - version='1.13.1', + version='1.14.0', author='ISMRMRD Developers', description='Python implementation of the ISMRMRD', license='Public Domain', @@ -74,8 +74,8 @@ def to_uri(filename): 'Operating System :: OS Independent', 'Topic :: Scientific/Engineering :: Medical Science Apps.' ], - install_requires=['xsdata>=22.2', 'numpy>=1.22.0', 'h5py>=2.3'], - setup_requires=['nose>=1.0', 'xsdata[cli]>=22.2', 'jinja2 >= 2.11'], + install_requires=['xsdata>=22.12', 'numpy>=1.22.0', 'h5py>=2.3'], + setup_requires=['nose>=1.0', 'xsdata[cli]>=22.12', 'jinja2 >= 2.11'], test_suite='nose.collector', cmdclass={'build_py':my_build_py} )