Commit f31b4062 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

MNT: Deprecation warning in filetree

parent 48b09f65
...@@ -289,7 +289,7 @@ of the short variable names defined in the ...@@ -289,7 +289,7 @@ of the short variable names defined in the
Running a pipeline on a subset of participants/sessions/runs Running a pipeline on a subset of participants/sessions/runs
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Suppose you want to run your pipeline on a subset of your data while testing. Suppose you want to run your pipeline on a subset of your data while testing.
You may want to do this if your data has a a hierarchy of variables (e.g. participant, session, run) as in the example below. You may want to do this if your data has a a hierarchy of variables (e.g. participant, session, run) as in the example below.
:: ::
...@@ -321,3 +321,12 @@ __author__ = 'Michiel Cottaar <Michiel.Cottaar@ndcn.ox.ac.uk>' ...@@ -321,3 +321,12 @@ __author__ = 'Michiel Cottaar <Michiel.Cottaar@ndcn.ox.ac.uk>'
from .filetree import FileTree, register_tree, MissingVariable from .filetree import FileTree, register_tree, MissingVariable
from .parse import tree_directories, list_all_trees from .parse import tree_directories, list_all_trees
from .query import FileTreeQuery from .query import FileTreeQuery
import fsl.utils.deprecated as deprecated
deprecated.warn('fsl.utils.filetree',
vin='3.6.0',
rin='4.0.0',
msg='The filetree package is now released as a separate '
'Python library ("file-tree" on PyPi), and will be '
'removed in a future version of fslpy.')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment