Skip to content

Commit

Permalink
Changes to use scilpy pip
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaRenauld committed Jan 16, 2024
1 parent c2a3221 commit b646b42
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
3 changes: 2 additions & 1 deletion dwi_ml/data/processing/streamlines/post_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
import numpy as np
import torch

from scilpy.tractograms.uncompress import uncompress

from scilpy.tractanalysis.tools import \
extract_longest_segments_from_profile as segmenting_func
from scilpy.tractanalysis.uncompress import uncompress

# We could try using nan instead of zeros for non-existing previous dirs...
DEFAULT_UNEXISTING_VAL = torch.zeros((1, 3), dtype=torch.float32)
Expand Down
7 changes: 2 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Supported for python 3.10
# Should work for python > 3.8.

# ----------
# Scilpy and dipy must be installed manually first.
# (or run pip install -r requirements_github.txt)
# Not adding here to let you use your favorite version.
# ----------
scilpy==1.5.0


bertviz~=1.4.0 # For transformer's visu
torch==1.13.*
Expand Down
10 changes: 0 additions & 10 deletions requirements_github.txt

This file was deleted.

0 comments on commit b646b42

Please sign in to comment.