Fatal Python error: Bus error
As reported by @marcelzwiers in poldracklab/mriqc#717 and diagnosed by @effigies (https://github.com/poldracklab/mriqc/issues/717#issuecomment-395526216), there is a problem in `niworkflows/interfaces/utils.py`, line 179 (`_copyxform`) when using nibabel with mmap.
diff --git a/niworkflows/interfaces/utils.py b/niworkflows/interfaces/utils.py
index 3a69be14..1c0afbc2 100644
--- a/niworkflows/interfaces/utils.py
+++ b/niworkflows/interfaces/utils.py
@@ -157,7 +157,8 @@ class GenerateSamplingReference(SimpleInterface):
 
 def _copyxform(ref_image, out_image, message=None):
     # Read in reference and output
-    resampled = nb.load(out_image)
+    # Use mmap=False because we will be overwriting the output image
+    resampled = nb.load(out_image, mmap=False)
     orig = nb.load(ref_image)
 
     if not np.allclose(orig.affine, resampled.affine):
['niworkflows/interfaces/utils.py']