Skip to content
Snippets Groups Projects
Commit 27e1ff81 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Version bump, license tweak, doc fixes.

parent 6106b552
No related branches found
No related tags found
No related merge requests found
FSLeyes, (c) 2016, The University of Oxford (the "Software")
fslpy library, (c) 2016, The University of Oxford (the "Software")
The Software remains the property of the University of Oxford ("the
University").
......
......@@ -471,7 +471,7 @@ def getDataFile(featdir):
"""Returns the name of the file in the FEAT directory which contains
the model input data (typically called ``filtered_func_data.nii.gz``).
Raises a :exc:`.PathError` if the file does not exist.
Raises a :exc:`~fsl.utils.path.PathError` if the file does not exist.
:arg featdir: A FEAT directory.
"""
......@@ -480,11 +480,11 @@ def getDataFile(featdir):
def getMelodicFile(featdir):
"""Returns the name of the file in the FEAT results which contains the melodic
components (if melodic ICA was performed as part of the FEAT
"""Returns the name of the file in the FEAT results which contains the
melodic components (if melodic ICA was performed as part of the FEAT
analysis). This file can be loaded as a :class:`.MelodicImage`.
Raises a :exc:`.PathError` if the file does not exist.
Raises a :exc:`~fsl.utils.path.PathError` if the file does not exist.
"""
melfile = op.join(featdir, 'filtered_func_data.ica', 'melodic_IC')
return fslimage.addExt(melfile, mustExist=True)
......@@ -494,7 +494,7 @@ def getResidualFile(featdir):
"""Returns the name of the file in the FEAT results which contains
the model fit residuals (typically called ``res4d.nii.gz``).
Raises a :exc:`.PathError` if the file does not exist.
Raises a :exc:`~fsl.utils.path.PathError` if the file does not exist.
:arg featdir: A FEAT directory.
"""
......@@ -505,7 +505,7 @@ def getResidualFile(featdir):
def getPEFile(featdir, ev):
"""Returns the path of the PE file for the specified EV.
Raises a :exc:`.PathError` if the file does not exist.
Raises a :exc:`~fsl.utils.path.PathError` if the file does not exist.
:arg featdir: A FEAT directory.
:arg ev: The EV number (0-indexed).
......@@ -517,7 +517,7 @@ def getPEFile(featdir, ev):
def getCOPEFile(featdir, contrast):
"""Returns the path of the COPE file for the specified contrast.
Raises a :exc:`.PathError` if the file does not exist.
Raises a :exc:`~fsl.utils.path.PathError` if the file does not exist.
:arg featdir: A FEAT directory.
:arg contrast: The contrast number (0-indexed).
......@@ -529,7 +529,7 @@ def getCOPEFile(featdir, contrast):
def getZStatFile(featdir, contrast):
"""Returns the path of the Z-statistic file for the specified contrast.
Raises a :exc:`.PathError` if the file does not exist.
Raises a :exc:`~fsl.utils.path.PathError` if the file does not exist.
:arg featdir: A FEAT directory.
:arg contrast: The contrast number (0-indexed).
......@@ -541,7 +541,7 @@ def getZStatFile(featdir, contrast):
def getClusterMaskFile(featdir, contrast):
"""Returns the path of the cluster mask file for the specified contrast.
Raises a :exc:`.PathError` if the file does not exist.
Raises a :exc:`~fsl.utils.path.PathError` if the file does not exist.
:arg featdir: A FEAT directory.
:arg contrast: The contrast number (0-indexed).
......
......@@ -12,5 +12,5 @@ version number and information.
__version__
"""
__version__ = '0.9.7'
__version__ = '0.9.8'
"""Current version number, as a string. """
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