public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-biology/nilearn/files/
@ 2021-01-19 16:26 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-01-19 16:26 UTC (permalink / raw
  To: gentoo-commits

commit:     7b7c76b42a0f34812060d9b00885ab6b34565b9a
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 19 16:24:09 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 19 16:24:09 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=7b7c76b4

sci-biology/nilearn: remove executable bit

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-biology/nilearn/files/0.4.1-bundled_joblib_test.patch | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sci-biology/nilearn/files/0.4.1-bundled_joblib_test.patch b/sci-biology/nilearn/files/0.4.1-bundled_joblib_test.patch
old mode 100755
new mode 100644


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/nilearn/files/
@ 2022-05-11 11:23 Horea Christian
  0 siblings, 0 replies; 3+ messages in thread
From: Horea Christian @ 2022-05-11 11:23 UTC (permalink / raw
  To: gentoo-commits

commit:     6eb40cc76a60ec0c086696ff410b8df297658b5d
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Wed May 11 11:22:51 2022 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed May 11 11:22:51 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6eb40cc7

sci-biology/nilearn: test file patch

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-biology/nilearn/files/nilearn-0.9.1-tests.patch | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/sci-biology/nilearn/files/nilearn-0.9.1-tests.patch b/sci-biology/nilearn/files/nilearn-0.9.1-tests.patch
new file mode 100644
index 000000000..6d13b76b1
--- /dev/null
+++ b/sci-biology/nilearn/files/nilearn-0.9.1-tests.patch
@@ -0,0 +1,10 @@
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -78,7 +78,6 @@
+ doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS
+ junit_family = xunit2
+ addopts =
+-	--doctest-modules
+ 	-s
+ 	-vv
+ 	--durations=0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/nilearn/files/
@ 2023-12-31  8:53 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2023-12-31  8:53 UTC (permalink / raw
  To: gentoo-commits

commit:     2743e3a94792e768d688acfcb407510c4842a22a
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Dec 30 17:53:20 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Dec 31 08:50:21 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2743e3a9

sci-biology/nilearn: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../nilearn/files/0.4.1-bundled_joblib_test.patch  | 39 ----------------------
 1 file changed, 39 deletions(-)

diff --git a/sci-biology/nilearn/files/0.4.1-bundled_joblib_test.patch b/sci-biology/nilearn/files/0.4.1-bundled_joblib_test.patch
deleted file mode 100644
index e229d25fb..000000000
--- a/sci-biology/nilearn/files/0.4.1-bundled_joblib_test.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/nilearn/input_data/tests/test_nifti_masker.py	2018-08-02 18:57:07.700111595 +0200
-+++ b/nilearn/input_data/tests/test_nifti_masker.py	2018-08-02 18:57:29.453556439 +0200
-@@ -219,36 +219,6 @@
-     assert_raises(ValueError, masker.fit_transform, data_img)
- 
- 
--def test_joblib_cache():
--    from sklearn.externals.joblib import hash, Memory
--    mask = np.zeros((40, 40, 40))
--    mask[20, 20, 20] = 1
--    mask_img = Nifti1Image(mask, np.eye(4))
--
--    with testing.write_tmp_imgs(mask_img, create_files=True) as filename:
--        masker = NiftiMasker(mask_img=filename)
--        masker.fit()
--        mask_hash = hash(masker.mask_img_)
--        masker.mask_img_.get_data()
--        assert_true(mask_hash == hash(masker.mask_img_))
--
--        # Test a tricky issue with memmapped joblib.memory that makes
--        # imgs return by inverse_transform impossible to save
--        cachedir = mkdtemp()
--        try:
--            masker.memory = Memory(cachedir=cachedir, mmap_mode='r',
--                                   verbose=0)
--            X = masker.transform(mask_img)
--            # inverse_transform a first time, so that the result is cached
--            out_img = masker.inverse_transform(X)
--            out_img = masker.inverse_transform(X)
--            out_img.to_filename(os.path.join(cachedir, 'test.nii'))
--        finally:
--            # enables to delete "filename" on windows
--            del masker
--            shutil.rmtree(cachedir, ignore_errors=True)
--
--
- def test_mask_init_errors():
-     # Errors that are caught in init
-     mask = NiftiMasker(mask_strategy='oops')


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-31  8:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-19 16:26 [gentoo-commits] proj/sci:master commit in: sci-biology/nilearn/files/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2022-05-11 11:23 Horea Christian
2023-12-31  8:53 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox