Skip to content
Snippets Groups Projects
Commit 7b71792d authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

Clean up fslmaths module

parent ad001983
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python #!/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): class fslmaths(object):
...@@ -150,6 +153,6 @@ class fslmaths(object): ...@@ -150,6 +153,6 @@ class fslmaths(object):
else: else:
self.outputImage = self.inputImage self.outputImage = self.inputImage
runfsl(self.toString()) run.runfsl(self.toString())
return self.outputImage return self.outputImage
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment