Skip to content

Commit 460b3a4

Browse files
committed
Add empty petpvc example files
1 parent d15d89c commit 460b3a4

File tree

3 files changed

+6
-19
lines changed

3 files changed

+6
-19
lines changed

nipype/interfaces/petpvc.py

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
# -*- coding: utf-8 -*-
2-
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*-
3-
# vi: set ft=python sts=4 ts=4 sw=4 et:
41
"""
2+
Change directory to provide relative paths for doctests
3+
>>> import os
4+
>>> filepath = os.path.dirname( os.path.realpath( __file__ ) )
5+
>>> datadir = os.path.realpath(os.path.join(filepath, '../testing/data'))
6+
>>> os.chdir(datadir)
7+
58
Nipype interface for PETPVC.
69
710
PETPVC is a software from the Nuclear Medicine Department
@@ -217,19 +220,3 @@ def _gen_filename(self, name):
217220
if name == 'out_file':
218221
return self._list_outputs()['out_file']
219222
return None
220-
221-
222-
if __name__ == '__main__':
223-
224-
#from .testing import example_data
225-
#TODO get data for PETPVC
226-
227-
pvc = PETPVC()
228-
pvc.inputs.in_file = example_data('pet.nii.gz')
229-
pvc.inputs.mask_file = example_data('tissues.nii.gz')
230-
pvc.inputs.out_file = 'pet_pvc_rbv.nii.gz'
231-
pvc.inputs.pvc = 'RBV'
232-
pvc.inputs.fwhm_x = 2.0
233-
pvc.inputs.fwhm_y = 2.0
234-
pvc.inputs.fwhm_z = 2.0
235-
pvc.run()

nipype/testing/data/pet.nii.gz

Whitespace-only changes.

nipype/testing/data/tissues.nii.gz

Whitespace-only changes.

0 commit comments

Comments
 (0)