Skip to content

Commit

Permalink
Merge pull request yeatmanlab#282 from 36000/update_tf
Browse files Browse the repository at this point in the history
Fix two bugs, makes tests work
  • Loading branch information
arokem authored Jul 1, 2020
2 parents 5424bf4 + 76e56b8 commit 7a21fad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions AFQ/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,7 @@ def visualize_tract_profiles(tract_profiles, scalar="dti_fa", min_fa=0.0,
ax = axes[positions[bundle][0], positions[bundle][1]]
fa = tract_profiles[
(tract_profiles["bundle"] == bundle)
& (tract_profiles["scalar"] == scalar)
]['profiles'].values
][scalar].values
ax.plot(fa, 'o-', color=COLOR_DICT[bundle])
ax.set_ylim([min_fa, max_fa])
ax.set_yticks([0.2, 0.4, 0.6])
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ popylar==0.2
fury==0.4.0
imageio==2.8.0
ipython==7.13.0
templateflow==0.4.2
templateflow==0.6.2
pybids==0.10.2
xvfbwrapper==0.2.9

0 comments on commit 7a21fad

Please sign in to comment.