File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
nipype/interfaces/elastix Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
# @Author: oesteban - code@oscaresteban.es
7
7
# @Date: 2014-06-17 10:17:07
8
8
# @Last Modified by: oesteban
9
- # @Last Modified time: 2014-06-17 13:15:54
9
+ # @Last Modified time: 2014-06-27 10:25:36
10
10
"""
11
11
Generic interfaces to manipulate registration parameters files, including
12
12
transform files (to configure warpings)
@@ -121,9 +121,9 @@ def _run_interface(self, runtime):
121
121
dirs = ' ' .join (['%0.4f' % f for f in affine [0 :3 ,0 :3 ].reshape (- 1 )])
122
122
orig = ' ' .join (['%0.4f' % f for f in affine [0 :3 ,3 ].reshape (- 1 )])
123
123
124
- p = re .compile ((self ._pattern % 'Direction' ).decode ('string-escape' ))
125
- rep = '(\g<entry>%s\g<3>' % dirs
126
- contents = p .sub (rep , contents )
124
+ # p = re.compile((self._pattern % 'Direction').decode('string-escape'))
125
+ # rep = '(\g<entry>%s\g<3>' % dirs
126
+ # contents = p.sub(rep, contents)
127
127
128
128
p = re .compile ((self ._pattern % 'Origin' ).decode ('string-escape' ))
129
129
rep = '(\g<entry>%s\g<3>' % orig
You can’t perform that action at this time.
0 commit comments