sci-biology/neuroconv - 0.4.8 (science)

Search

Install

Install this version:

emerge -a =sci-biology/neuroconv-0.4.8

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-biology/neuroconv-0.4.8

Or alternatively:

emerge --autounmask-write -a =sci-biology/neuroconv-0.4.8

Package Information

Description:
Create NWB files from proprietary formats.
Homepage:
https://github.com/catalystneuro/neuroconv
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.4.8 8 ~amd64 0
View Raw Ebuild
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..13} )
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/docstring-parser[${PYTHON_USEDEP}]
	dev-python/h5py[${PYTHON_USEDEP}]
	dev-python/hdmf-zarr[${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/pydantic[${PYTHON_USEDEP}]
	dev-python/pynwb[${PYTHON_USEDEP}]
	dev-python/pyyaml[${PYTHON_USEDEP}]
	dev-python/scipy[${PYTHON_USEDEP}]
	dev-python/tqdm[${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

# Reported upstream:
# https://github.com/catalystneuro/neuroconv/issues/785
EPYTEST_DESELECT=(
	tests/test_ecephys/test_mock_recording_interface.py::TestMockRecordingInterface::test_conversion_as_lone_interface
)

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[*]// /|}
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-biology/neuroconv | euse -E <flag> -p sci-biology/neuroconv | euse -D <flag> -p sci-biology/neuroconv

Global/Standard Flags

ecephys
Default: Enabled (+)
icephys
Default: Enabled (+)
ophys
Default: Enabled (+)

Inherited Eclasses

Dependencies

RDEPEND

	dev-python/docstring-parser[]
	dev-python/h5py[]
	dev-python/hdmf-zarr[]
	dev-python/hdmf[]
	dev-python/jsonschema[]
	dev-python/numpy[]
	dev-python/nwbinspector[]
	dev-python/pandas[]
	dev-python/parse[]
	dev-python/psutil[]
	dev-python/pydantic[]
	dev-python/pynwb[]
	dev-python/pyyaml[]
	dev-python/scipy[]
	dev-python/tqdm[]
	ecephys? (
		dev-python/spikeinterface[]
	)
	icephys? (
		dev-python/neo[]
	)
	ophys? (
		sci-biology/roiextractors[]
	)

BDEPEND

	test? (
		dev-python/parameterized[]
	)

Manifest for 0.4.8

Type File Size Source URLs
DIST neuroconv-0.4.8.gh.tar.gz 1020546 bytes https://github.com/catalystneuro/neuroconv/archive/refs/tags/v0.4.8.tar.gz