Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] Fix cache mixin tests #2161

Merged
merged 5 commits into from
Oct 14, 2019

Conversation

jeromedockes
Copy link
Member

test_cache_shelving was not passing when run on its own (because it depended on func_code.py being in the joblib directory whereas this may not be the case if the function is already in joblib's in-memory hash store)

and several tests were not cleaning up their temporary directories

@codecov
Copy link

codecov bot commented Oct 9, 2019

Codecov Report

Merging #2161 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2161      +/-   ##
==========================================
+ Coverage   92.31%   92.32%   +<.01%     
==========================================
  Files         149      149              
  Lines       18786    18777       -9     
  Branches     2291     2290       -1     
==========================================
- Hits        17342    17335       -7     
  Misses        922      922              
+ Partials      522      520       -2
Impacted Files Coverage Δ
nilearn/tests/test_cache_mixin.py 95.65% <100%> (+1.29%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d566678...b371d90. Read the comment docs.

@jeromedockes jeromedockes changed the title Fix cache mixin tests [MRG] Fix cache mixin tests Oct 9, 2019
@jeromedockes
Copy link
Member Author

appveyor failure is fetch development dataset failed download and unrelated

@kchawla-pi
Copy link
Collaborator

I think due to the permission & membership changes Gael made for Nilearn, I cannot trigger the Appveyor built on the old permissions. You'll have to push a (empty) commit to trigger it.

@kchawla-pi kchawla-pi merged commit 1905835 into nilearn:master Oct 14, 2019
kchawla-pi added a commit to kchawla-pi/nilearn that referenced this pull request Oct 14, 2019
* 'master' of github.com:nilearn/nilearn:
  Fix cache mixin tests (nilearn#2161)
  Do not fail if metadata cannot be updated for an image (nilearn#2167)
  [MRG] Nans in view connectome (nilearn#2166)
kchawla-pi added a commit to illdopejake/nilearn that referenced this pull request Oct 14, 2019
…nt_modify_fetch_dev

* 'master' of https://github.com/nilearn/nilearn:
  ENH: add connectome strength plot (nilearn#2028)
  Fix cache mixin tests (nilearn#2161)
  Do not fail if metadata cannot be updated for an image (nilearn#2167)
kchawla-pi added a commit to KamalakerDadi/nilearn that referenced this pull request Oct 14, 2019
…ecomposition

* 'master' of https://github.com/nilearn/nilearn:
  Fix Flake8 errors overlooked when merging PR nilearn#2028 (Plot connectome strength) (nilearn#2174)
  ENH: add connectome strength plot (nilearn#2028)
  Fix cache mixin tests (nilearn#2161)
  Do not fail if metadata cannot be updated for an image (nilearn#2167)
  [MRG] Nans in view connectome (nilearn#2166)
@GaelVaroquaux
Copy link
Member

GaelVaroquaux commented Oct 16, 2019 via email

@kchawla-pi
Copy link
Collaborator

kchawla-pi commented Oct 16, 2019 via email

@kchawla-pi
Copy link
Collaborator

@jeromedockes the old login forappveyor won't work. Since you have write access to nilearn, loggin in with your github account will allow you to restart builds on Appveyor.

@GaelVaroquaux Azure Pipelines itself is ready but many of Nilearn's tests failed on it (though they pass on Appveyor) during the sprint and my local windows machine. Since I dont usually bring a windows machine to work this kept getting deferred. Soon as I release Nilearn & Nistats, I'll prioritize AZP.

@GaelVaroquaux
Copy link
Member

GaelVaroquaux commented Oct 16, 2019 via email

kchawla-pi added a commit to pausz/nilearn that referenced this pull request Oct 18, 2019
…smooth-image

* 'master' of https://github.com/nilearn/nilearn: (114 commits)
  [DOC] Update whats_new to reference nilearn#2013 (Merging of several examples) (nilearn#2183)
  Removed sub-example due to unfit for lasso dataset - unstable float values (nilearn#2177)
  Fix Flake8 errors overlooked when merging PR nilearn#2028 (Plot connectome strength) (nilearn#2174)
  ENH: add connectome strength plot (nilearn#2028)
  Fix cache mixin tests (nilearn#2161)
  Do not fail if metadata cannot be updated for an image (nilearn#2167)
  [MRG] Nans in view connectome (nilearn#2166)
  [MRG] FIX: orientation problem with plot_glass_brain (nilearn#1888)
  Import HTMLDocument in its original module to preserve backwards compatibility (nilearn#2162)
  Fixing malfunctioning allowed-failure section in Travis (nilearn#2160)
  Update Brainomics fetcher (nilearn#2097)
  Remove inplace modification in signal.clean (nilearn#2125)
  Iter age group prediction example (nilearn#2063)
  Expose bg_img, vmin and vmax in plot_img signature (nilearn#2157)
  Replac conda with pip in TravisCI setup (nilearn#2141)
  Core devs doc and add @emdupre (nilearn#2151)
  Add check for vmin, vmax in plot_surf_roi (nilearn#2052)
  [ENH] Initial visual reports (nilearn#2019)
  Renamed test to deduplicate name (nilearn#2144)
  Fixes nilearn#2029 Handle gzip files without extensions (nilearn#2126)
  ...
kchawla-pi added a commit to kchawla-pi/nilearn that referenced this pull request Oct 24, 2019
…te-req-dev

* 'master' of https://github.com/nilearn/nilearn: (336 commits)
  Release Nilearn 0.6.0 alpha (nilearn#2164)
  Making fetch_localizer_button_task backwards compatibile (nilearn#2182)
  [DOC] Update whats_new to reference nilearn#2013 (Merging of several examples) (nilearn#2183)
  Removed sub-example due to unfit for lasso dataset - unstable float values (nilearn#2177)
  Fix Flake8 errors overlooked when merging PR nilearn#2028 (Plot connectome strength) (nilearn#2174)
  ENH: add connectome strength plot (nilearn#2028)
  Fix cache mixin tests (nilearn#2161)
  Do not fail if metadata cannot be updated for an image (nilearn#2167)
  [MRG] Nans in view connectome (nilearn#2166)
  [MRG] FIX: orientation problem with plot_glass_brain (nilearn#1888)
  Import HTMLDocument in its original module to preserve backwards compatibility (nilearn#2162)
  Fixing malfunctioning allowed-failure section in Travis (nilearn#2160)
  Update Brainomics fetcher (nilearn#2097)
  Remove inplace modification in signal.clean (nilearn#2125)
  Iter age group prediction example (nilearn#2063)
  Expose bg_img, vmin and vmax in plot_img signature (nilearn#2157)
  Replac conda with pip in TravisCI setup (nilearn#2141)
  Core devs doc and add @emdupre (nilearn#2151)
  Add check for vmin, vmax in plot_surf_roi (nilearn#2052)
  [ENH] Initial visual reports (nilearn#2019)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants