Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fslpy
Commits
d822f419
Commit
d822f419
authored
5 years ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
BUG: remove deprecated method
parent
fa643260
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl/utils/filetree/filetree.py
+0
-11
0 additions, 11 deletions
fsl/utils/filetree/filetree.py
with
0 additions
and
11 deletions
fsl/utils/filetree/filetree.py
+
0
−
11
View file @
d822f419
...
@@ -327,17 +327,6 @@ class FileTree(object):
...
@@ -327,17 +327,6 @@ class FileTree(object):
return
False
return
False
return
True
return
True
@deprecated
(
rin
=
'
2.4
'
,
msg
=
'
Use FileTree.defines or FileTree.on_disk instead
'
)
def
exists
(
self
,
short_names
,
on_disk
=
False
,
error
=
False
,
glob_vars
=
()):
"""
Deprecated in favor of :meth:`on_disk` and :meth:`defines`.
"""
if
on_disk
:
return
self
.
on_disk
(
short_names
,
error
=
error
,
glob_vars
=
glob_vars
)
else
:
return
self
.
defines
(
short_names
,
error
=
error
,
glob_vars
=
glob_vars
)
@classmethod
@classmethod
def
read
(
cls
,
tree_name
:
str
,
directory
=
'
.
'
,
**
variables
)
->
"
FileTree
"
:
def
read
(
cls
,
tree_name
:
str
,
directory
=
'
.
'
,
**
variables
)
->
"
FileTree
"
:
"""
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment