-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Horea Christian <[email protected]>
- Loading branch information
1 parent
5f89fde
commit a3e6450
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST neuroconv-0.2.4.gh.tar.gz 757136 BLAKE2B a3a21b3a00667bde4461d91ade514891c8710f309413b100e1cccfd2684dfcbf9b21feaf4f58b3c5ff845aa08e69bf47467b411926eeb7d3b2862753302b1d9b SHA512 293038feae2704442b81ba0f012d775ba96d7bdffb6aaacaaebd09ca2f8b39e91ef4ea69c972abf060f0f9ab8cb76fedb77dda67455fa992edd52f0e6e504b0d | ||
DIST neuroconv-0.4.6.gh.tar.gz 1000357 BLAKE2B 24fc43a4c7c1cb588b5af49c1da2348f775506efd0c36b838b7882cf4a03520dac6e0fe6fd17310c17ae84371d3eeb8e3aec4b16fc3b07c10bec2e3c46e51dff SHA512 eeccc6900b6ae9f053f67503a93c4040033afc8b056b8869ad562f7cd2dd802cce2b7a467b5ccaa20fe84a188697821c328043b6177302d1913a30a5a789ae15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Copyright 2021-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
PYTHON_COMPAT=( python3_{10..11} ) | ||
DISTUTILS_USE_PEP517=setuptools | ||
inherit distutils-r1 | ||
|
||
DESCRIPTION="Create NWB files from proprietary formats." | ||
HOMEPAGE="https://github.com/catalystneuro/neuroconv" | ||
SRC_URI="https://github.com/catalystneuro/neuroconv/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" | ||
|
||
LICENSE="BSD" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="+ecephys +icephys +ophys" | ||
|
||
RDEPEND=" | ||
dev-python/h5py[${PYTHON_USEDEP}] | ||
dev-python/hdmf[${PYTHON_USEDEP}] | ||
dev-python/jsonschema[${PYTHON_USEDEP}] | ||
dev-python/numpy[${PYTHON_USEDEP}] | ||
dev-python/nwbinspector[${PYTHON_USEDEP}] | ||
dev-python/pandas[${PYTHON_USEDEP}] | ||
dev-python/parse[${PYTHON_USEDEP}] | ||
dev-python/psutil[${PYTHON_USEDEP}] | ||
dev-python/pynwb[${PYTHON_USEDEP}] | ||
dev-python/pyyaml[${PYTHON_USEDEP}] | ||
dev-python/scipy[${PYTHON_USEDEP}] | ||
dev-python/tqdm[${PYTHON_USEDEP}] | ||
dev-python/pydantic[${PYTHON_USEDEP}] | ||
ecephys? ( | ||
dev-python/spikeinterface[${PYTHON_USEDEP}] | ||
) | ||
icephys? ( | ||
dev-python/neo[${PYTHON_USEDEP}] | ||
) | ||
ophys? ( | ||
sci-biology/roiextractors[${PYTHON_USEDEP}] | ||
) | ||
" | ||
BDEPEND=" | ||
test? ( | ||
dev-python/parameterized[${PYTHON_USEDEP}] | ||
) | ||
" | ||
|
||
distutils_enable_tests pytest | ||
|
||
python_test() { | ||
# Additional tests require complex data getting infrastructure, ophys tests still have issues: | ||
# https://github.com/catalystneuro/neuroconv/issues/305 | ||
local my_tests=( "tests/test_minimal" ) | ||
use ecephys && my_tests+=( "tests/test_ecephys" ) | ||
#use ophys && my_tests+=( "tests/test_ophys" ) | ||
epytest ${my_tests[*]// /|} | ||
} |