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

unpin xarray, numpy, pandas, netcdf4 #25

Merged
merged 14 commits into from
Sep 27, 2022
Merged

unpin xarray, numpy, pandas, netcdf4 #25

merged 14 commits into from
Sep 27, 2022

Conversation

mschrimpf
Copy link
Member

@mschrimpf mschrimpf commented Aug 28, 2022

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
…ariable is ambiguous, please extract the data using the .data property." See pydata/xarray#6508.  There are other errors, however.
… = 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?
Copy link
Contributor

@jjpr-mit jjpr-mit left a comment

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
Contributor

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

@mschrimpf
Copy link
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
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