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 66# @Author: oesteban - code@oscaresteban.es
77# @Date: 2014-06-17 10:17:07
88# @Last Modified by: oesteban
9- # @Last Modified time: 2014-06-17 13:15:54
9+ # @Last Modified time: 2014-06-27 10:25:36
1010"""
1111Generic interfaces to manipulate registration parameters files, including
1212transform files (to configure warpings)
@@ -121,9 +121,9 @@ def _run_interface(self, runtime):
121121 dirs = ' ' .join (['%0.4f' % f for f in affine [0 :3 ,0 :3 ].reshape (- 1 )])
122122 orig = ' ' .join (['%0.4f' % f for f in affine [0 :3 ,3 ].reshape (- 1 )])
123123
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)
127127
128128 p = re .compile ((self ._pattern % 'Origin' ).decode ('string-escape' ))
129129 rep = '(\g<entry>%s\g<3>' % orig
You can’t perform that action at this time.
0 commit comments