Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
fslpy
Commits
6a2d81a3
Commit
6a2d81a3
authored
Feb 05, 2019
by
Paul McCarthy
🚵
Browse files
RF: Remove FileTree.short_names, as I need a list of the short names that
actually exist on disk (and corrsepond to files).
parent
56cd55ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl/utils/filetree/filetree.py
View file @
6a2d81a3
...
...
@@ -58,11 +58,6 @@ class FileTree(object):
res
.
update
(
self
.
variables
)
return
res
@
property
def
short_names
(
self
)
->
List
[
str
]:
"""Returns a list containing all short names in the file tree. """
return
list
(
self
.
templates
.
keys
())
def
get_variable
(
self
,
name
:
str
,
default
=
None
)
->
str
:
"""
Gets a variable used to fill out the template
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment