From 6a2d81a340892872a1a98fcd89e21300fefa582e Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Tue, 5 Feb 2019 17:06:23 +0000 Subject: [PATCH] RF: Remove FileTree.short_names, as I need a list of the short names that actually exist on disk (and corrsepond to files). --- fsl/utils/filetree/filetree.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fsl/utils/filetree/filetree.py b/fsl/utils/filetree/filetree.py index 5f2c7dfe6..9ba5fede6 100644 --- a/fsl/utils/filetree/filetree.py +++ b/fsl/utils/filetree/filetree.py @@ -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 -- GitLab