Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/mrd_conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
env:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: |
for p in $(find {cpp,python}/conda/build_pkg -name mrd*.tar.bz2)
for p in $(find {cpp,python}/conda/build_pkg -name 'mrd*.tar.bz2' -or -name 'mrd*.conda')
do
./utils/conda/publish_package.sh -u ismrmrd -t "$ANACONDA_TOKEN" -p "$p"
done
4 changes: 4 additions & 0 deletions python/conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ requirements:
- pip
run:
- python
- ismrmrd-python >=1.14.2
- numpy >=1.22.0
- pillow >=9.2.0

Expand All @@ -26,6 +27,9 @@ test:
- mrd
- mrd.tools.phantom
- mrd.tools.stream_recon
- mrd.tools.export_png_images
- mrd.tools.ismrmrd_to_mrd
- mrd.tools.mrd_to_ismrmrd

about:
home: https://ismrmrd.github.io/mrd
Expand Down
8 changes: 7 additions & 1 deletion python/conda/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@ set -euo pipefail

python -m mrd.tools.minimal_example

python -m mrd.tools.phantom | python -m mrd.tools.stream_recon | python -m mrd.tools.export_png_images
python -m mrd.tools.phantom \
| python -m mrd.tools.mrd_to_ismrmrd \
| python -m mrd.tools.ismrmrd_to_mrd \
| python -m mrd.tools.stream_recon \
| python -m mrd.tools.mrd_to_ismrmrd \
| python -m mrd.tools.ismrmrd_to_mrd \
| python -m mrd.tools.export_png_images \
6 changes: 5 additions & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ packages = ["mrd", "mrd.tools"]
[project]
name = "mrd-python"
dynamic = ["version"]
dependencies = ["numpy>=1.22.0", "pillow>=9.2.0"]
dependencies = [
"ismrmrd>=1.14.2",
"numpy>=1.22.0",
"pillow>=9.2.0"
]
requires-python = ">=3.12"
description = "Library and tools for working with data in the ISMRM Raw Data (MRD) format."
readme = "README.md"
Expand Down
Loading