From ef06b9db5bb2099dfd6161d763953612eec1314a Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Wed, 30 Nov 2022 01:37:50 +0100 Subject: py-bidscoin, py-multiecho: add new packages (#34168) --- .../repos/builtin/packages/py-bidscoin/package.py | 33 ++++++++++++++++++++++ .../repos/builtin/packages/py-multiecho/package.py | 22 +++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-bidscoin/package.py create mode 100644 var/spack/repos/builtin/packages/py-multiecho/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-bidscoin/package.py b/var/spack/repos/builtin/packages/py-bidscoin/package.py new file mode 100644 index 0000000000..8012bd3123 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-bidscoin/package.py @@ -0,0 +1,33 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class PyBidscoin(PythonPackage): + """Converts and organises raw MRI data-sets according to the Brain Imaging + Data Structure (BIDS).""" + + homepage = "https://github.com/Donders-Institute/bidscoin" + pypi = "bidscoin/bidscoin-3.7.4.tar.gz" + + version("3.7.4", sha256="efa32238fb7b75e533e7f5cc318ad5a703716d291985435d43f1de4f18402517") + + depends_on("python@3.8:", type=("build", "run")) + depends_on("py-setuptools", type="build") + depends_on("py-pytest-runner", type="build") + + depends_on("py-pandas", type=("build", "run")) + depends_on("py-matplotlib", type=("build", "run")) + depends_on("py-numpy", type=("build", "run")) + depends_on("py-pydicom@2:", type=("build", "run")) + depends_on("py-pyqt5@5.12.1:", type=("build", "run")) + depends_on("py-ruamel-yaml@0.15.35:", type=("build", "run")) + depends_on("py-coloredlogs", type=("build", "run")) + depends_on("py-tqdm", type=("build", "run")) + depends_on("py-multiecho@0.25:", type=("build", "run")) + depends_on("py-python-dateutil", type=("build", "run")) + depends_on("py-nibabel", type=("build", "run")) + depends_on("dcm2niix", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-multiecho/package.py b/var/spack/repos/builtin/packages/py-multiecho/package.py new file mode 100644 index 0000000000..dba1e76093 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-multiecho/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class PyMultiecho(PythonPackage): + """Combine multi-echoes from a multi-echo fMRI acquisition.""" + + homepage = "https://github.com/Donders-Institute/multiecho" + pypi = "multiecho/multiecho-0.28.tar.gz" + + version("0.28", sha256="d0459bd03398547116d8e989b2d2b7922af0ae7ae77e233794dd7253a2abced3") + + depends_on("python@3.6:3.9", type=("build", "run")) + depends_on("py-setuptools", type="build") + + depends_on("py-coloredlogs", type=("build", "run")) + depends_on("py-numpy", type=("build", "run")) + depends_on("py-nibabel", type=("build", "run")) -- cgit v1.2.3-60-g2f50