diff options
| -rw-r--r-- | guix-science/packages/electrophysiology.scm | 77 |
1 files changed, 57 insertions, 20 deletions
diff --git a/guix-science/packages/electrophysiology.scm b/guix-science/packages/electrophysiology.scm index 9ee105e..8fc4828 100644 --- a/guix-science/packages/electrophysiology.scm +++ b/guix-science/packages/electrophysiology.scm | |||
| @@ -118,6 +118,18 @@ | |||
| 118 | transmission over the local network.") | 118 | transmission over the local network.") |
| 119 | (license license:expat))) | 119 | (license license:expat))) |
| 120 | 120 | ||
| 121 | (define mne-lsl-data | ||
| 122 | (origin | ||
| 123 | ;; FIXME: Use `git-fetch/lfs` once | ||
| 124 | ;; <https://codeberg.org/guix/guix/issues/7510> is fixed. | ||
| 125 | (method git-fetch) | ||
| 126 | (uri (git-reference | ||
| 127 | (url "https://github.com/mscheltienne/mne-lsl-datasets") | ||
| 128 | (commit "479b6ea4d86666d4a87fda8d19ff446850348eef"))) | ||
| 129 | (file-name "mne-lsl-data") | ||
| 130 | (sha256 | ||
| 131 | (base32 "08cqjx5lwwgyda0m6amp7ggmv701g3hzjayhqwkl845cw4563j0r")))) | ||
| 132 | |||
| 121 | (define mne-sample-data | 133 | (define mne-sample-data |
| 122 | (package | 134 | (package |
| 123 | (name "mne-sample-data") | 135 | (name "mne-sample-data") |
| @@ -1886,18 +1898,48 @@ components that stem from an Independent Component Analysis (ICA).") | |||
| 1886 | (arguments | 1898 | (arguments |
| 1887 | (list | 1899 | (list |
| 1888 | #:test-flags | 1900 | #:test-flags |
| 1889 | #~(list | 1901 | #~(list "-m" |
| 1890 | ;; Requires network access. | 1902 | "not slow" |
| 1891 | "--deselect=tests/lsl/test_stream_info.py::test_stream_info_desc_from_info" | 1903 | ;; Requires external data stored with Git LFS. |
| 1892 | (string-append "--deselect=tests/stream/test_epochs.py" | 1904 | "--deselect=tests/player/test_player_lsl.py::test_player" |
| 1893 | "::test_epochs_with_irregular_numerical_event_stream_and_first_samp") | 1905 | "--deselect=tests/player/test_player_lsl.py::test_player_context_manager" |
| 1906 | "--deselect=tests/player/test_player_lsl.py::test_player_context_manager_raw" | ||
| 1907 | (string-append "--deselect=tests/player/test_player_lsl.py" | ||
| 1908 | "::test_player_context_manager_raw_annotations") | ||
| 1909 | "--deselect=tests/player/test_player_lsl.py::test_player_invalid_arguments" | ||
| 1910 | "--deselect=tests/player/test_player_lsl.py::test_player_stop_invalid" | ||
| 1911 | "--deselect=tests/player/test_player_lsl.py::test_player_anonymize" | ||
| 1912 | "--deselect=tests/player/test_player_lsl.py::test_player_set_meas_date" | ||
| 1913 | "--deselect=tests/player/test_player_lsl.py::test_player_n_repeat_invalid" | ||
| 1914 | "--deselect=tests/player/test_player_lsl.py::test_player_push_sample" | ||
| 1915 | "--deselect=tests/player/test_player_lsl.py::test_player_push_last_sample" | ||
| 1894 | "--deselect=tests/stream/test_hpi.py::test_stream_with_hpi" | 1916 | "--deselect=tests/stream/test_hpi.py::test_stream_with_hpi" |
| 1917 | "--deselect=tests/stream/test_stream_lsl.py::test_stream_double_connection" | ||
| 1918 | "--deselect=tests/stream/test_stream_lsl.py::test_stream_meas_date_and_anonymize" | ||
| 1919 | "--deselect=tests/stream/test_stream_lsl.py::test_stream_channel_types" | ||
| 1920 | "--deselect=tests/stream/test_stream_lsl.py::test_stream_channel_names" | ||
| 1921 | "--deselect=tests/stream/test_stream_lsl.py::test_stream_channel_units" | ||
| 1922 | "--deselect=tests/stream/test_stream_lsl.py::test_stream_invalid_interrupt" | ||
| 1923 | "--deselect=tests/stream/test_stream_lsl.py::test_manual_acquisition" | ||
| 1924 | "--deselect=tests/stream/test_stream_lsl.py::test_manual_acquisition_errors" | ||
| 1895 | "--deselect=tests/utils/test_test.py::test_compare_infos" | 1925 | "--deselect=tests/utils/test_test.py::test_compare_infos" |
| 1926 | "--deselect=tests/lsl/test_stream_info.py::test_stream_info_desc_from_info" | ||
| 1896 | "--deselect=tests/utils/test_test.py::test_match_stream_and_raw_data" | 1927 | "--deselect=tests/utils/test_test.py::test_match_stream_and_raw_data" |
| 1897 | "--ignore=tests/player/test_player_lsl.py" | 1928 | ;; Raises RuntimeError. |
| 1898 | "--ignore=tests/stream/test_stream_lsl.py" | 1929 | (string-join (list "--deselect=tests/stream/test_epochs.py" |
| 1899 | ;; Yields RuntimeError errors. | 1930 | "test_epochs_with_irregular_numerical_event_stream") |
| 1900 | "--ignore=tests/stream/test_epochs.py" | 1931 | "::") |
| 1932 | (string-join (list "--deselect=tests/stream/test_epochs.py" | ||
| 1933 | "test_epochs_single_event") "::") | ||
| 1934 | (string-join (list "--deselect=tests/stream/test_epochs.py" | ||
| 1935 | "test_epochs_with_more_events_than_buffer_size") | ||
| 1936 | "::") | ||
| 1937 | (string-join (list "--deselect=tests/stream/test_epochs.py" | ||
| 1938 | "test_epochs_with_irregular_numerical_event_stream_and_event_id") | ||
| 1939 | "::") | ||
| 1940 | (string-join (list "--deselect=tests/stream/test_epochs.py" | ||
| 1941 | "test_epochs_with_irregular_numerical_event_stream_with_2_ch_and_event_id") | ||
| 1942 | "::") | ||
| 1901 | ;; Requires GPU access. | 1943 | ;; Requires GPU access. |
| 1902 | "--deselect=tests/utils/test_config.py::test_gpu_info") | 1944 | "--deselect=tests/utils/test_config.py::test_gpu_info") |
| 1903 | #:phases | 1945 | #:phases |
| @@ -1953,17 +1995,12 @@ components that stem from an Independent Component Analysis (ICA).") | |||
| 1953 | python-scipy | 1995 | python-scipy |
| 1954 | python-tomli)) | 1996 | python-tomli)) |
| 1955 | (inputs (list liblsl)) | 1997 | (inputs (list liblsl)) |
| 1956 | (native-inputs (list cmake-minimal python-pytest python-setuptools | 1998 | (native-inputs (list cmake-minimal |
| 1957 | python-setuptools-scm | 1999 | mne-lsl-data |
| 1958 | (origin | 2000 | python-pytest |
| 1959 | (method git-fetch) | 2001 | python-pytest-timeout |
| 1960 | (uri (git-reference (url | 2002 | python-setuptools |
| 1961 | "https://github.com/mscheltienne/mne-lsl-datasets") | 2003 | python-setuptools-scm)) |
| 1962 | (commit | ||
| 1963 | "479b6ea4d86666d4a87fda8d19ff446850348eef"))) | ||
| 1964 | (file-name "mne-lsl-data") | ||
| 1965 | (sha256 (base32 | ||
| 1966 | "08cqjx5lwwgyda0m6amp7ggmv701g3hzjayhqwkl845cw4563j0r"))))) | ||
| 1967 | (home-page "https://mne.tools/mne-lsl") | 2004 | (home-page "https://mne.tools/mne-lsl") |
| 1968 | (synopsis | 2005 | (synopsis |
| 1969 | "Real-time framework integrated with MNE-Python for online neuroscience | 2006 | "Real-time framework integrated with MNE-Python for online neuroscience |
