Skip to content

Commit 8f66003

Browse files
committed
fix: this seems to help
1 parent 7230871 commit 8f66003

File tree

1 file changed

+2
-1
lines changed
  • src/snake/toolkit/reconstructors

1 file changed

+2
-1
lines changed

src/snake/toolkit/reconstructors/pysap.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class SequentialReconstructor(BaseReconstructor):
188188
wavelet: str = "db4"
189189
threshold: float | str = "sure"
190190
nufft_backend: str = "gpunufft"
191-
density_compensation: str | bool = "pipe"
191+
density_compensation: None | str | bool = "pipe"
192192
restart_strategy: RestartStrategy = RestartStrategy.WARM
193193
compute_backend: str = "cupy"
194194

@@ -274,6 +274,7 @@ def reconstruct(self, data_loader: MRDLoader) -> np.ndarray:
274274
smaps=smaps,
275275
# smaps=xp.array(smaps) if smaps is not None else None,
276276
density=density_compensation,
277+
squeeze_dims=True,
277278
**kwargs,
278279
)
279280

0 commit comments

Comments
 (0)