Skip to content

Commit 98f5c31

Browse files
committed
move fsl.model templates
1 parent b454961 commit 98f5c31

26 files changed

+4
-46
lines changed

nipype/interfaces/fsl/model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2173,7 +2173,7 @@ def _list_outputs(self):
21732173

21742174

21752175
def load_template(name):
2176-
"""Load a template from the script_templates directory
2176+
"""Load a template from the model_templates directory
21772177
21782178
Parameters
21792179
----------
@@ -2186,8 +2186,8 @@ def load_template(name):
21862186
21872187
"""
21882188
from pkg_resources import resource_filename as pkgrf
2189-
full_fname = pkgrf('nipype',
2190-
os.path.join('script_templates', name))
2189+
full_fname = pkgrf(
2190+
'nipype', os.path.join('interfaces', 'fsl', 'model_templates', name))
21912191
with open(full_fname) as template_file:
21922192
template = Template(template_file.read())
21932193

nipype/interfaces/setup.py

Lines changed: 0 additions & 42 deletions
This file was deleted.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def main():
106106
pjoin('workflows', 'data', '*'),
107107
pjoin('pipeline', 'engine', 'report_template.html'),
108108
pjoin('external', 'd3.js'),
109-
pjoin('script_templates', '*'),
109+
pjoin('interfaces', 'fsl', 'model_templates', '*'),
110110
pjoin('interfaces', 'tests', 'realign_json.json'),
111111
pjoin('interfaces', 'tests', 'use_resources'),
112112
'pytest.ini',

0 commit comments

Comments
 (0)