Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
arokem committed Apr 7, 2021
1 parent 903c06e commit a01e5be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions AFQ/models/csd.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from dipy.reconst import csdeconv as csd
from dipy.reconst import mcsd
from dipy.reconst import shm
import dipy.data as dpd
import AFQ.utils.models as ut

# Monkey patch fixed spherical harmonics for conda and fixed solve_qp from
Expand Down Expand Up @@ -112,7 +111,8 @@ def fit_csd(data_files, bval_files, bvec_files, mask=None, response=None,
fname : the full path to the file containing the SH coefficients.
"""
img, data, gtab, mask = ut.prepare_data(data_files, bval_files, bvec_files,
b0_threshold=b0_threshold, mask=mask)
b0_threshold=b0_threshold,
mask=mask)

csdfit = _fit(gtab, data, mask, response=response, sh_order=sh_order,
lambda_=lambda_, tau=tau, msmt=msmt)
Expand Down
3 changes: 0 additions & 3 deletions AFQ/tractography.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@ def track(params_file, directions="det", max_angle=30., sphere=None,

return StatefulTractogram(chain.from_iterable(results),
params_img, Space.RASMM)
#return _tracking(seeds, my_tracker, dg, stopping_criterion, params_img,
# step_size=step_size, min_length=min_length,
# max_length=max_length, random_seed=rng_seed)


def _tracking(seeds, tracker, dg, stopping_criterion, params_img,
Expand Down

0 comments on commit a01e5be

Please sign in to comment.