summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-28 08:35:26 +0200
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2026-08-28 09:41:47 +0200
commita30e13ffda50165436449fdda7bb061a1603fcaa (patch)
tree8b52bac67648974441ce68eaabbf6a6f2cc47d8d
parent79d1844fd7eee7e7c416d85b95bbf3c7e5e5384e (diff)
electrophysiology: python-autoreject: Update to 0.4.4.
* guix-science/packages/electrophysiology.scm (python-autoreject) [source]: Update to 0.4.4. [arguments]<#:phases>: Fix pytest configuration in the pyproject.toml file. [native-inputs]: Remove python-setuptools. Add python-hatch-vcs and python-hatchling. [home-page]: Use HTTPS URL.
-rw-r--r--guix-science/packages/electrophysiology.scm23
1 files changed, 15 insertions, 8 deletions
diff --git a/guix-science/packages/electrophysiology.scm b/guix-science/packages/electrophysiology.scm
index e90cb0d..b57841d 100644
--- a/guix-science/packages/electrophysiology.scm
+++ b/guix-science/packages/electrophysiology.scm
@@ -527,7 +527,7 @@ extract features from EEG signals.")
527(define-public python-autoreject 527(define-public python-autoreject
528 (package 528 (package
529 (name "python-autoreject") 529 (name "python-autoreject")
530 (version "0.4.3") 530 (version "0.4.4")
531 (source 531 (source
532 (origin 532 (origin
533 (method git-fetch) 533 (method git-fetch)
@@ -536,7 +536,7 @@ extract features from EEG signals.")
536 (commit (string-append "v" version)))) 536 (commit (string-append "v" version))))
537 (file-name (git-file-name name version)) 537 (file-name (git-file-name name version))
538 (sha256 538 (sha256
539 (base32 "1an5mgmbkmk2by7w2gilkazbxpydc5iac1cnsxs28zfy55p52igc")))) 539 (base32 "0h0rhicwm8kwf2y7syp8gxf37bfhbsg3dz8hfpa056rjs8pkr8sn"))))
540 (build-system pyproject-build-system) 540 (build-system pyproject-build-system)
541 (arguments 541 (arguments
542 (list 542 (list
@@ -544,10 +544,13 @@ extract features from EEG signals.")
544 #~(modify-phases %standard-phases 544 #~(modify-phases %standard-phases
545 (add-after 'unpack 'fix-pytest-configuration 545 (add-after 'unpack 'fix-pytest-configuration
546 (lambda _ 546 (lambda _
547 ;; No python-pytest-cov. 547 (substitute* "pyproject.toml"
548 (substitute* "setup.cfg" 548 ;; no pytest-cov
549 (("--cov-report=") 549 (("--cov-report=")
550 "")))) 550 "")
551 ;; no forced coloured output
552 (("--color=yes")
553 "--color=auto"))))
551 (add-before 'build 'set-home 554 (add-before 'build 'set-home
552 (lambda _ 555 (lambda _
553 ;; Testing requires write access. 556 ;; Testing requires write access.
@@ -573,9 +576,13 @@ extract features from EEG signals.")
573 python-pymatreader ;via mne[hdf5] 576 python-pymatreader ;via mne[hdf5]
574 python-scikit-learn 577 python-scikit-learn
575 python-scipy)) 578 python-scipy))
576 (native-inputs (list mne-testing-data python-mne-qt-browser python-pytest 579 (native-inputs (list mne-testing-data
577 python-setuptools xorg-server)) 580 python-hatch-vcs
578 (home-page "http://autoreject.github.io") 581 python-hatchling
582 python-mne-qt-browser
583 python-pytest
584 xorg-server))
585 (home-page "https://autoreject.github.io/")
579 (synopsis "Automated rejection and repair of epochs in M/EEG") 586 (synopsis "Automated rejection and repair of epochs in M/EEG")
580 (description 587 (description
581 "This is a library to automatically reject bad trials and repair bad 588 "This is a library to automatically reject bad trials and repair bad