Repository navigation
Install bifti in playground notebooks that use --no-deps - #204
Merged
Merged
Conversation
…no-deps MRzeroCore 1.3 depends on bifti, which is not pulled in when the notebooks install MRzeroCore with --no-deps. bifti is installed with --no-deps as well, since its requirements (numpy, nibabel, requests) are already present in Colab and should not be upgraded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NHKPBZR1HP47yhA3BKxHT4
bifti (installed by the notebooks with --no-deps) imports nibabel, which Colab ships but the CI runner does not. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NHKPBZR1HP47yhA3BKxHT4
Simulation test: main (before) vs. this PR (after)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.











MRzeroCore 1.3 added
biftias a dependency. The playground notebooks that runpip install MRzeroCore --no-depsdon't get it, so they break.This PR adds
!pip install bifti --no-depsright after the MRzeroCore install in the 18 notebooks that use--no-deps. Where the original line had&> /dev/null, the new line keeps it.bifti is installed with
--no-depstoo. Its requirements arenumpy,nibabelandrequests, and Colab already ships all three. The pinnumpy>=2.5.1would otherwise make pip upgrade Colab's numpy, which is the kind of breakage the--no-depsinstalls are there to avoid.Notebooks that run a plain
pip install MRzeroCorealready get bifti and are unchanged.Generated by Claude Code