diff options
author | Horea Christian <chr@chymera.eu> | 2023-01-31 04:57:44 -0500 |
---|---|---|
committer | Horea Christian <chr@chymera.eu> | 2023-01-31 04:57:44 -0500 |
commit | 2197df0e3de174258d330058ca961121c538784c (patch) | |
tree | 59e2a1ffee329e64616373fdf320e8e399ca13d5 | |
parent | dev-python/neo: new package, add 0.11.0, 0.11.1 (diff) | |
download | sci-2197df0e.tar.gz sci-2197df0e.tar.bz2 sci-2197df0e.zip |
dev-python/tridesclous: new package, add 1.6.4, 1.6.6
Signed-off-by: Horea Christian <chr@chymera.eu>
-rw-r--r-- | dev-python/tridesclous/Manifest | 2 | ||||
-rw-r--r-- | dev-python/tridesclous/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/tridesclous/tridesclous-1.6.4.ebuild | 101 | ||||
-rw-r--r-- | dev-python/tridesclous/tridesclous-1.6.6.ebuild | 101 |
4 files changed, 220 insertions, 0 deletions
diff --git a/dev-python/tridesclous/Manifest b/dev-python/tridesclous/Manifest new file mode 100644 index 000000000..4bcef3213 --- /dev/null +++ b/dev-python/tridesclous/Manifest @@ -0,0 +1,2 @@ +DIST tridesclous-1.6.4.tar.gz 571689 BLAKE2B c941c159a0aed2f69dd098b5a7073898f305aa04c4db4753fc7de135cf87866fe8857a89b2d1248e3a2dada09229195f2dad557c0c110ac2f061dfe39c8aa257 SHA512 29182af03dc9219c422e37000ceb40787db89408f66b94201bbb2226f97ef251140eafa28a77554aaa1539978c46eece0156d2941c8156212499f544cf42740c +DIST tridesclous-1.6.6.gh.tar.gz 11798502 BLAKE2B af9eb4d4e899f2a065d37e6daaae9ad04209b3d10c250957985ef3603e5d5727947dafff75adf5bb892a4ccbbf2f575f682bd601afcf36bda48f5f7a2af6ab26 SHA512 b101a8a8c2e95b7eb51b7d24d2708a30421be63d48d5a7047dfa2be3ce0f15ce02ce518d5516d5fae3d040cb0d2037a49afd34fdbd03bc641dc42014d8861d0d diff --git a/dev-python/tridesclous/metadata.xml b/dev-python/tridesclous/metadata.xml new file mode 100644 index 000000000..819340cd1 --- /dev/null +++ b/dev-python/tridesclous/metadata.xml @@ -0,0 +1,16 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gentoo@chymera.eu</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <upstream> + <remote-id type="github">tridesclous/tridesclous</remote-id> + <remote-id type="pypi">tridesclous</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/tridesclous/tridesclous-1.6.4.ebuild b/dev-python/tridesclous/tridesclous-1.6.4.ebuild new file mode 100644 index 000000000..a65c30298 --- /dev/null +++ b/dev-python/tridesclous/tridesclous-1.6.4.ebuild @@ -0,0 +1,101 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="offline/online spike sorting" +HOMEPAGE="https://github.com/tridesclous/tridesclous" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gui test" + +RDEPEND=" + <dev-python/numpy-1.24.0[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + dev-python/hdbscan[${PYTHON_USEDEP}] + dev-python/loky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/neo[${PYTHON_USEDEP}] + dev-python/numba + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/seaborn[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + sci-libs/scikit-learn[${PYTHON_USEDEP}] + gui? ( + dev-python/PyQt5[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# Network sandboxing, this is sadly more than half the test suite :( +EPYTEST_DESELECT=( + tridesclous/tests/test_cleancluster.py::test_auto_split + tridesclous/tests/test_cleancluster.py::test_trash_not_aligned + tridesclous/tests/test_cleancluster.py::test_auto_merge + tridesclous/tests/test_cleancluster.py::test_trash_low_extremum + tridesclous/tests/test_cleancluster.py::test_trash_small_cluster + tridesclous/tests/test_cluster.py::test_sawchaincut + tridesclous/tests/test_cluster.py::test_pruningshears + tridesclous/tests/test_decomposition.py::test_all_decomposition + tridesclous/tests/test_export.py::test_export + tridesclous/tests/test_export.py::test_export_catalogue_spikes + tridesclous/tests/test_jobtools.py::test_run_parallel_signalprocessor + tridesclous/tests/test_matplotlibplot.py::test_plot_probe_geometry + tridesclous/tests/test_matplotlibplot.py::test_plot_signals + tridesclous/tests/test_matplotlibplot.py::test_plot_waveforms_with_geometry + tridesclous/tests/test_matplotlibplot.py::test_plot_waveforms + tridesclous/tests/test_matplotlibplot.py::test_plot_features_scatter_2d + tridesclous/tests/test_metrics.py::test_all_metrics + tridesclous/tests/test_metrics.py::test_cluster_ratio + tridesclous/tests/test_peeler.py::test_peeler_geometry + tridesclous/tests/test_peeler.py::test_peeler_geometry_cl + tridesclous/tests/test_peeler.py::test_peeler_empty_catalogue + tridesclous/tests/test_peeler.py::test_peeler_several_chunksize + tridesclous/tests/test_peeler.py::test_peeler_with_and_without_preprocessor + tridesclous/tests/test_peeler.py::test_export_spikes + tridesclous/tests/test_report.py::test_summary_catalogue_clusters + tridesclous/tests/test_report.py::test_summary_noise + tridesclous/tests/test_report.py::test_summary_after_peeler_clusters + tridesclous/tests/test_report.py::test_generate_report + tridesclous/tests/test_autoparams.py::test_get_auto_params + tridesclous/tests/test_catalogueconstructor.py::test_catalogue_constructor + tridesclous/tests/test_catalogueconstructor.py::test_make_catalogue + tridesclous/tests/test_catalogueconstructor.py::test_ratio_amplitude + tridesclous/tests/test_catalogueconstructor.py::test_create_savepoint_catalogue_constructor + tridesclous/tests/test_catalogueconstructor.py::test_feature_with_lda_selection + tridesclous/tests/test_cataloguetools.py::test_apply_all_catalogue_steps + tridesclous/tests/test_dataio.py::test_DataIO + tridesclous/tests/test_dataio.py::test_DataIO_probes + tridesclous/tests/test_datasets.py::test_download_dataset + tridesclous/tests/test_datasets.py::test_get_dataset + tridesclous/tests/test_datasource.py::test_RawDataSource + tridesclous/tests/test_datasource.py::test_NeoRawIOAggregator + tridesclous/tests/test_peakdetector.py::test_compare_offline_online_engines + tridesclous/tests/test_peakdetector.py::test_detect_geometrical_peaks + tridesclous/tests/test_peakdetector.py::test_peak_sign_symetry + tridesclous/tests/test_signalpreprocessor.py::test_compare_offline_online_engines + tridesclous/tests/test_signalpreprocessor.py::test_auto_pad_width + tridesclous/tests/test_tools.py::test_fix_prb_file_py2 +) + +python_test() { + local EPYTEST_IGNORE=( + tridesclous/online/tests/* + ) + if use !gui ; then + local EPYTEST_IGNORE+=( + tridesclous/gui/* + ) + fi + epytest +} diff --git a/dev-python/tridesclous/tridesclous-1.6.6.ebuild b/dev-python/tridesclous/tridesclous-1.6.6.ebuild new file mode 100644 index 000000000..13697e657 --- /dev/null +++ b/dev-python/tridesclous/tridesclous-1.6.6.ebuild @@ -0,0 +1,101 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..10} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +DESCRIPTION="offline/online spike sorting" +HOMEPAGE="https://github.com/tridesclous/tridesclous" +SRC_URI="https://github.com/tridesclous/tridesclous/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="gui test" + +RDEPEND=" + <dev-python/numpy-1.24.0[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + dev-python/hdbscan[${PYTHON_USEDEP}] + dev-python/loky[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/neo[${PYTHON_USEDEP}] + dev-python/numba + dev-python/openpyxl[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + dev-python/seaborn[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + sci-libs/scikit-learn[${PYTHON_USEDEP}] + gui? ( + dev-python/PyQt5[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +# Network sandboxing, this is sadly more than half the test suite :( +EPYTEST_DESELECT=( + tridesclous/tests/test_cleancluster.py::test_auto_split + tridesclous/tests/test_cleancluster.py::test_trash_not_aligned + tridesclous/tests/test_cleancluster.py::test_auto_merge + tridesclous/tests/test_cleancluster.py::test_trash_low_extremum + tridesclous/tests/test_cleancluster.py::test_trash_small_cluster + tridesclous/tests/test_cluster.py::test_sawchaincut + tridesclous/tests/test_cluster.py::test_pruningshears + tridesclous/tests/test_decomposition.py::test_all_decomposition + tridesclous/tests/test_export.py::test_export + tridesclous/tests/test_export.py::test_export_catalogue_spikes + tridesclous/tests/test_jobtools.py::test_run_parallel_signalprocessor + tridesclous/tests/test_matplotlibplot.py::test_plot_probe_geometry + tridesclous/tests/test_matplotlibplot.py::test_plot_signals + tridesclous/tests/test_matplotlibplot.py::test_plot_waveforms_with_geometry + tridesclous/tests/test_matplotlibplot.py::test_plot_waveforms + tridesclous/tests/test_matplotlibplot.py::test_plot_features_scatter_2d + tridesclous/tests/test_metrics.py::test_all_metrics + tridesclous/tests/test_metrics.py::test_cluster_ratio + tridesclous/tests/test_peeler.py::test_peeler_geometry + tridesclous/tests/test_peeler.py::test_peeler_geometry_cl + tridesclous/tests/test_peeler.py::test_peeler_empty_catalogue + tridesclous/tests/test_peeler.py::test_peeler_several_chunksize + tridesclous/tests/test_peeler.py::test_peeler_with_and_without_preprocessor + tridesclous/tests/test_peeler.py::test_export_spikes + tridesclous/tests/test_report.py::test_summary_catalogue_clusters + tridesclous/tests/test_report.py::test_summary_noise + tridesclous/tests/test_report.py::test_summary_after_peeler_clusters + tridesclous/tests/test_report.py::test_generate_report + tridesclous/tests/test_autoparams.py::test_get_auto_params + tridesclous/tests/test_catalogueconstructor.py::test_catalogue_constructor + tridesclous/tests/test_catalogueconstructor.py::test_make_catalogue + tridesclous/tests/test_catalogueconstructor.py::test_ratio_amplitude + tridesclous/tests/test_catalogueconstructor.py::test_create_savepoint_catalogue_constructor + tridesclous/tests/test_catalogueconstructor.py::test_feature_with_lda_selection + tridesclous/tests/test_cataloguetools.py::test_apply_all_catalogue_steps + tridesclous/tests/test_dataio.py::test_DataIO + tridesclous/tests/test_dataio.py::test_DataIO_probes + tridesclous/tests/test_datasets.py::test_download_dataset + tridesclous/tests/test_datasets.py::test_get_dataset + tridesclous/tests/test_datasource.py::test_RawDataSource + tridesclous/tests/test_datasource.py::test_NeoRawIOAggregator + tridesclous/tests/test_peakdetector.py::test_compare_offline_online_engines + tridesclous/tests/test_peakdetector.py::test_detect_geometrical_peaks + tridesclous/tests/test_peakdetector.py::test_peak_sign_symetry + tridesclous/tests/test_signalpreprocessor.py::test_compare_offline_online_engines + tridesclous/tests/test_signalpreprocessor.py::test_auto_pad_width + tridesclous/tests/test_tools.py::test_fix_prb_file_py2 +) + +python_test() { + local EPYTEST_IGNORE=( + tridesclous/online/tests/* + ) + if use !gui ; then + local EPYTEST_IGNORE+=( + tridesclous/gui/* + ) + fi + epytest +} |