From 7b71792daf2afbe6420faeabb670aafd6f4653fd Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Sat, 3 Mar 2018 12:51:36 +0000
Subject: [PATCH] Clean up fslmaths module

---
 fsl/wrappers/fslmaths.py | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/fsl/wrappers/fslmaths.py b/fsl/wrappers/fslmaths.py
index 614d0c68e..a15a26e52 100644
--- a/fsl/wrappers/fslmaths.py
+++ b/fsl/wrappers/fslmaths.py
@@ -1,12 +1,15 @@
 #!/usr/bin/env python
 #
-# fslmaths.py -
+# fslmaths.py - Wrapper for fslmaths.
 #
-# Author: Paul McCarthy <pauldmccarthy@gmail.com>
+# Author: Sean Fitzgibbon <sean.fitzgibbon@ndcn.ox.ac.uk>
 #
+"""This module provides the :class:`fslmaths` class, which acts as a wrapper
+for the ``fslmaths`` command-line tool.
+"""
 
 
-from fsl.utils.run import runfsl
+import fsl.utils.run as run
 
 
 class fslmaths(object):
@@ -150,6 +153,6 @@ class fslmaths(object):
         else:
             self.outputImage = self.inputImage
 
-        runfsl(self.toString())
+        run.runfsl(self.toString())
 
         return self.outputImage
-- 
GitLab