Skip to content

Commit e75c74c

Browse files
2 parents 0724474 + 8c72315 commit e75c74c

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows-disabled/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
uses: actions/upload-artifact@v4
4747
with:
4848
name: wheels-${{ matrix.os }}
49-
path: dist/*.whl
49+
path: dist/*.whl

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
uses: actions/upload-artifact@v5
4141
with:
4242
name: distributions
43-
path: dist/*
43+
path: dist/*

pydesigner/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
try:
77
__version__ = version("pydesigner")
88
except PackageNotFoundError:
9-
__version__ = "0+unknown"
9+
__version__ = "0+unknown"

pydesigner/fitting/dwipy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ def __costCalculator(grid, BT, GT, b0, IMG, iDT, iaDT, zeta, shB, Pl0, g2l_fa_R_
13671367
cost_fn : array_like(dype=float)
13681368
Cost values for input grid
13691369
"""
1370-
1370+
13711371
if grid.ndim > 1:
13721372
raise Exception("Grid needs to be a flattened 1D vector")
13731373
ndir = [len(x) for x in GT]
@@ -2083,7 +2083,7 @@ def fbi_helper(
20832083
fbwm_SH2 = fbwm_SH2[:, harmonics]
20842084
dt, kt = self.tensorReorder("dki")
20852085
dt = vectorize(dt, self.mask)
2086-
2086+
20872087
(
20882088
zeta,
20892089
faa,
@@ -2915,7 +2915,7 @@ def outlierHelper(dwi, bmat, sigma, b, b0_pos, maxiter=25, convcrit=1e-3, levera
29152915

29162916
# with np.errstate(divide="ignore", invalid="ignore", over="ignore"):
29172917
# dwi_hat = highprecisionexp(np.matmul(bmat_i, dt_i))
2918-
2918+
29192919
# dwi_hat = np.nan_to_num(dwi_hat, nan=0.0, posinf=0.0, neginf=0.0)
29202920

29212921
# dwi_hat[dwi_hat < 1] = 1

pydesigner/tractography/odf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ def odf_conversion(odf, target="tournier"):
978978
vol_table = np.array([0.5 * (x + 1) * (x + 2) for x in l_max_table], dtype=int)
979979
vols = odf.shape[0]
980980
l_max = l_max_table[np.where(vol_table == vols)[0]]
981-
981+
982982
l_max = np.asarray(l_max)
983983
if l_max.size != 1:
984984
raise ValueError(f"l_max must be scalar, got shape {l_max.shape}")

0 commit comments

Comments
 (0)