Skip to content

Commit

Permalink
Fix with scilpy update
Browse files Browse the repository at this point in the history
  • Loading branch information
levje committed Apr 30, 2024
1 parent 183bbf7 commit 70d243e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TractOracleNet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from dipy.io.streamline import save_tractogram
from dipy.tracking.streamline import set_number_of_points
from scilpy.viz.utils import get_colormap
from scilpy.viz.color import get_lookup_table


def get_data(sft, device):
Expand Down Expand Up @@ -39,7 +39,7 @@ def save_filtered_streamlines(sft, scores, out_tractogram, dense=False):
"""

cmap = get_colormap('jet')
cmap = get_lookup_table('jet')

if dense:
tmp = [np.squeeze(scores[s]) for s in
Expand Down

0 comments on commit 70d243e

Please sign in to comment.