Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a61e455

Browse files
Merge pull request #2058 from gjcooper/fsl_mmap
FIX: Import mmap into inner function for all_fsl_pipeline
2 parents 603f424 + fdee60e commit a61e455

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎nipype/workflows/dmri/fsl/artifacts.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ def _gen_index(in_file):
236236
import numpy as np
237237
import nibabel as nb
238238
import os
239+
from nipype.utils import NUMPY_MMAP
239240
out_file = os.path.abspath('index.txt')
240241
vols = nb.load(in_file, mmap=NUMPY_MMAP).get_data().shape[-1]
241242
np.savetxt(out_file, np.ones((vols,)).T)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /