Skip to content

Commit 1de0544

Browse files
committed
Moving source code url to the format use in nitfyseg
1 parent 40ee809 commit 1de0544

File tree

5 files changed

+23
-17
lines changed

5 files changed

+23
-17
lines changed

nipype/interfaces/niftyfit/asl.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
Change directory to provide relative paths for doctests
88
>>> import os
99
>>> filepath = os.path.dirname( os.path.realpath( __file__ ) )
10-
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/data'))
10+
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/\
11+
data'))
1112
>>> os.chdir(datadir)
1213
"""
1314

@@ -139,7 +140,7 @@ class FitAsl(NiftyFitCommand):
139140
ASL fitting routines (following EU Cost Action White Paper recommendations)
140141
Fits Cerebral Blood Flow maps in the first instance.
141142
142-
For source code, see https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyFit-Release
143+
`Source code <https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyFit-Release>`_
143144
144145
Examples
145146
--------

nipype/interfaces/niftyfit/dwi.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
Change directory to provide relative paths for doctests
88
>>> import os
99
>>> filepath = os.path.dirname( os.path.realpath( __file__ ) )
10-
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/data'))
10+
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/\
11+
data'))
1112
>>> os.chdir(datadir)
1213
"""
1314

@@ -236,7 +237,7 @@ class FitDwi(NiftyFitCommand):
236237
Diffusion-weighted MR Fitting.
237238
Fits DWI parameter maps to multi-shell, multi-directional data.
238239
239-
For source code, see https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyFit-Release
240+
`Source code <https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyFit-Release>`_
240241
241242
Examples
242243
--------
@@ -413,6 +414,8 @@ class DwiTool(NiftyFitCommand):
413414
Predicts DWI from previously fitted models and calculates model derived
414415
maps.
415416
417+
`Source code <https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyFit-Release>`_
418+
416419
Examples
417420
--------
418421

nipype/interfaces/niftyfit/qt1.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
Change directory to provide relative paths for doctests
99
>>> import os
1010
>>> filepath = os.path.dirname( os.path.realpath( __file__ ) )
11-
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/data'))
11+
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/\
12+
data'))
1213
>>> os.chdir(datadir)
1314
"""
1415

@@ -156,7 +157,7 @@ class FitQt1(NiftyFitCommand):
156157
T1 Fitting Routine (To inversion recovery or spgr data).
157158
Fits single component T1 maps in the first instance.
158159
159-
For source code, see https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyFit-Release
160+
`Source code <https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyFit-Release>`_
160161
161162
Examples
162163
--------

nipype/interfaces/niftyreg/reg.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
Change directory to provide relative paths for doctests
1212
>>> import os
1313
>>> filepath = os.path.dirname( os.path.realpath( __file__ ) )
14-
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/data'))
14+
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/\
15+
data'))
1516
>>> os.chdir(datadir)
1617
"""
1718

@@ -145,7 +146,7 @@ class RegAladin(NiftyRegCommand):
145146
asymmetric block-matching approach"
146147
J. Med. Img. 1(2) 024003, 2014, doi: 10.1117/1.JMI.1.2.024003
147148
148-
For source code, see https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg
149+
`Source code <https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg>`_
149150
150151
Examples
151152
--------
@@ -356,7 +357,7 @@ class RegF3D(NiftyRegCommand):
356357
Initially based on Modat et al., "Fast Free-Form Deformation using
357358
graphics processing units", CMPB, 2010
358359
359-
For source code, see https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg
360+
`Source code <https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg>`_
360361
361362
Examples
362363
--------

nipype/interfaces/niftyreg/regutils.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
Change directory to provide relative paths for doctests
1111
>>> import os
1212
>>> filepath = os.path.dirname( os.path.realpath( __file__ ) )
13-
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/data'))
13+
>>> datadir = os.path.realpath(os.path.join(filepath, '../../testing/\
14+
data'))
1415
>>> os.chdir(datadir)
1516
"""
1617

@@ -94,8 +95,7 @@ class RegResample(NiftyRegCommand):
9495
given a transformation parametrisation generated by reg_aladin, reg_f3d or
9596
reg_transform
9697
97-
For complete documentation, see https://cmiclab.cs.ucl.ac.uk/mmodat/\
98-
niftyreg
98+
`Source code <https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg>`_
9999
100100
Examples
101101
--------
@@ -164,7 +164,7 @@ class RegJacobian(NiftyRegCommand):
164164
Tool to generate Jacobian determinant maps from transformation
165165
parametrisation generated by reg_f3d
166166
167-
For source code, see https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg
167+
`Source code <https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg>`_
168168
169169
Examples
170170
--------
@@ -280,7 +280,7 @@ class RegTools(NiftyRegCommand):
280280
resampling the input image to a chosen resolution or remove the nan and
281281
inf in the input image by a specified value.
282282
283-
For source code, see https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg
283+
`Source code <https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg>`_
284284
285285
Examples
286286
--------
@@ -387,7 +387,7 @@ class RegAverage(NiftyRegCommand):
387387
This interface is different than the others in the way that the options
388388
will be written in a command file that is given as a parameter.
389389
390-
For source code, see https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg
390+
`Source code <https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg>`_
391391
392392
Examples
393393
--------
@@ -584,7 +584,7 @@ class RegTransform(NiftyRegCommand):
584584
Tools to convert transformation parametrisation from one type to another
585585
as well as to compose, inverse or half transformations.
586586
587-
For source code, see https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg
587+
`Source code <https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg>`_
588588
589589
Examples
590590
--------
@@ -694,7 +694,7 @@ class RegMeasure(NiftyRegCommand):
694694
695695
Given two input images, compute the specified measure(s) of similarity
696696
697-
For source code, see https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg
697+
`Source code <https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg>`_
698698
699699
Examples
700700
--------

0 commit comments

Comments
 (0)