Skip to content

unpin xarray, numpy, pandas, netcdf4 - #25

Merged
mschrimpf merged 14 commits into
mainfrom
unpin
Sep 27, 2022
Merged

mschrimpf merged 14 commits into
mainfrom
unpin

Conversation

@mschrimpf

@mschrimpf mschrimpf commented Aug 28, 2022 •

Copy link
Copy Markdown
Member

I ran the brain-score Score tests, they all pass.

Remaining errors are up to you @jjpr-mit

@mschrimpf
mschrimpf requested a review from jjpr-mit August 28, 2022 00:19
Jonathan Prescott-Roy added 13 commits August 30, 2022 16:27
…ariable is ambiguous, please extract the data using the .data property." See pydata/xarray#6508.  There are other errors, however.
… in xarray 2022.06. Update tests for same.
… = 1.23.2, xarray = 2022.06.0. That means it has nothing to do with BrainIO.
… test for bugs in xarray. With xarray==2022.06.0, this test fails.
…nd 2022.06.0. Now test_get_metadata passes under 2022.03.0 and 2022.06.0.
…: NetCDF: Filter error: bad id or parameters or duplicate filter. This might fix it?

@jjpr-mit jjpr-mit left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately we still have to block a version of xarray because it has a bug. Otherwise, there are now better tests, and they're all passing.

@jjpr-mit

Copy link
Copy Markdown

@mschrimpf Do you want to review again before we merge?

@mschrimpf

Copy link
Copy Markdown
Member Author

Looks good, let's merge. Thanks @jjpr-mit!

@mschrimpf
mschrimpf merged commit f913068 into main Sep 27, 2022
@mschrimpf
mschrimpf deleted the unpin branch September 27, 2022 12:17
mschrimpf added a commit to mschrimpf/brain-score that referenced this pull request Sep 29, 2022
mschrimpf added a commit to brain-score/vision that referenced this pull request Oct 11, 2022
* add `reduce` method to `Score` class for newer xarray

following xarray unpin in brain-score/brainio#25

* cast `condition` coordinate to string

* also cast `condition` to str for precomputed features

* cast clip output to original assembly type

see also brain-score/brainio#27

* keep `importlib-metadata` at version 4
Nishant-codex pushed a commit to Nishant-codex/vision that referenced this pull request Jul 2, 2026
* add `reduce` method to `Score` class for newer xarray

following xarray unpin in brain-score/brainio#25

* cast `condition` coordinate to string

* also cast `condition` to str for precomputed features

* cast clip output to original assembly type

see also brain-score/brainio#27

* keep `importlib-metadata` at version 4
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.

2 participants