Comments (6)
In MultiPCA, if the user provides a masker, we clone it. Unfortunately, in
joblib 0.6, a bug prevent cloning a Memory object.
I don't understand. The memory shouldn't be cloned, only the masker. What
is the error message? Sorry, I am supposedly listening to talks, so I
cannot reproduce myself.
G
from nilearn.
The Masker contains a Memory object. Therefore, when we clone the masker, the Memory is cloned too. Unfortunately, in joblib 0.6, cloning a Memory does not work if cachedir is None.
Philippe's patch fixes this bug but it breaks Travis build :-/
from nilearn.
The Masker contains a Memory object. Therefore, when we clone the masker, the
Memory is cloned too. Unfortunately, in joblib 0.6, cloning a Memory does not
work if cachedir is None.
OK, I remember now.
Philippe's patch fixes this bug but it breaks Travis build :-/
OK, you can do a try/except on the cloning of the masker rather than
testing for version.
G
from nilearn.
Yes, this is what I've done for the moment. I opened this issue to remember to look for a cleaner fix if it exists (ie use Philippe's patch while keeping Travis build functional).
from nilearn.
I don't think there is any need for a "clean" patch: this is a workaround, and such things are always a little messy. If the code inside the "try" branch is clean, that doesn't matter to me if what is in the "except" clause is ugly. Using a try/except by itself is not bad practice.
from nilearn.
Okay then. I close this issue !
Fixed in 9f5b3e8
from nilearn.
Related Issues (20)
- [BUG] Backward incompatible change in Decoder HOT 2
- title of figure overlaps with progress bar in `plot_first_level_details` example HOT 5
- New failing circleci pipeline HOT 3
- numpy2 compatibility HOT 11
- update maintenance doc related to doc pushing HOT 7
- Doc build failure HOT 6
- improve warning for data folder in `first_level_from_bids`
- [BUG] plot_roi cannot handle cmap with only 1 level HOT 10
- Numpy 2 compatibility issue: nilearn/interfaces/fmriprep/load_confounds
- [BUG] NiftiSpheresMasker reports do not show sphere where there is only one
- ununsed arguments to clean up HOT 1
- [BUG] NiftiLabelsMasker transform() error with Schaefer atlas HOT 7
- Aspect ratio of some images in the doc is not kept constant depending on the view port size HOT 2
- Maskers classes description in API section do not help users know what each is for HOT 1
- Atlas fetching API summary section of the doc does not always mention whihc ones are probabilistic and deterministic
- Failure of carpet plot with matplotlib-3.9.0.dev0
- 'No events.tsv files found' error for 'first_level_from_bids' function [BUG] HOT 18
- tables in masker HTML report overlap with the masker image HOT 2
- [BUG] Location of individual spheres does not match the "all spheres plot" in NiftiSpheresMasker reports HOT 3
- [BUG] Colorbar is unreadable with plot_stat_map in mosaic mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nilearn.