brain-score / brain-score/vision
xarray outdated version problems
- Dominant language
- Python
- Stars
- 193
- Forks
- 105
- Avg merge
- 10h 48m
- Merged PRs (30d)
- 10
Description
from @eringrant in #533:
```
ValueError: cannot re-index or align objects with conflicting indexes found for the following coordinates: 'neuroid' (2 conflicting indexes), 'layer' (2 conflicting indexes)
Conflicting indexes may occur when
- they relate to different sets of coordinate and/or dimension names
- they don't have the same type
- they may be used to reindex data along common dimensions
```
here is conjecture about what I think is causing my error: I require xarray>=2023 for my own dev, so I've [unpinned xarray in a fork](https://github.com/brain-score/brainio/compare/main...eringrant:brainio:main) of brainio. However, result_caching gives the above ValueError with xarray>=2023 for reasons that I think have to do with https://github.com/pydata/xarray/issues/7005#issuecomment-1240532341 to how xarray deals with hierarchical indexing.
Since result_caching is auxiliary to the pipeline, I've hacked a daisy-chain to bypass result caching for xarrays in [another fork](https://github.com/brain-score/result_caching/compare/master...eringrant:result_caching:master). And then I had to squash [one more bug](https://github.com/brain-score/vision/commit/13e879ee456a4eaab421de3c9009c186f30a93a5) related to forward-compat with xarray. But now running the Brain-Score pipeline works for me!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.