Skip to content

Commit 84e5410

Browse files
committed
Merge branch 'master' into fix/AddCSVRowUndefined
Conflicts: CHANGES
2 parents 9f881bb + c993606 commit 84e5410

File tree

15 files changed

+392
-203
lines changed

15 files changed

+392
-203
lines changed

CHANGES

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,51 +2,56 @@ Next release
22
============
33

44
* FIX: AddCSVRow problems when using infields (https://github.com/nipy/nipype/pull/1028)
5+
* FIX: Amend create_tbss_non_fa() workflow to match FSL's tbss_non_fa command. (https://github.com/nipy/nipype/pull/1033)
6+
* FIX: remove unused mandatory flag from spm normalize (https://github.com/nipy/nipype/pull/1048)
7+
* ENH: Update ANTSCorticalThickness interface (https://github.com/nipy/nipype/pull/1013)
8+
* FIX: Edge case with sparsemodels and PEP8 cleanup (https://github.com/nipy/nipype/pull/1046)
59
* ENH: New io interfaces for JSON files reading/writing (https://github.com/nipy/nipype/pull/1020)
610
* ENH: Enhanced openfmri script to support freesurfer linkage (https://github.com/nipy/nipype/pull/1037)
711
* BUG: matplotlib is supposed to be optional (https://github.com/nipy/nipype/pull/1003)
812
* FIX: Fix split_filename behaviour when path has no file component (https://github.com/nipy/nipype/pull/1035)
913
* ENH: Updated FSL dtifit to include option for grad non-linearities (https://github.com/nipy/nipype/pull/1032)
1014
* ENH: Updated Camino tracking interfaces, which can now use FSL bedpostx output.
11-
New options also include choice of tracker, interpolator, stepsize and
15+
New options also include choice of tracker, interpolator, stepsize and
1216
curveinterval for angle threshold (https://github.com/nipy/nipype/pull/1029)
1317
* FIX: Interfaces redirecting X crashed if $DISPLAY not defined (https://github.com/nipy/nipype/pull/1027)
1418
* FIX: Bug crashed 'make api' (https://github.com/nipy/nipype/pull/1026)
1519
* ENH: Updated antsIntroduction to handle RA and RI registrations (https://github.com/nipy/nipype/pull/1009)
16-
* ENH: Updated N4BiasCorrection input spec to include weight image and spline order. Made
20+
* ENH: Updated N4BiasCorrection input spec to include weight image and spline order. Made
1721
argument formatting consistent. Cleaned ants.segmentation according to PEP8.
1822
(https://github.com/nipy/nipype/pull/990/files)
1923
* ENH: SPM12 Normalize interface (https://github.com/nipy/nipype/pull/986)
2024
* FIX: Utility interface test dir (https://github.com/nipy/nipype/pull/986)
2125
* FIX: IPython engine directory reset after crash (https://github.com/nipy/nipype/pull/987)
2226
* ENH: Resting state fMRI example with NiPy realignment and no SPM (https://github.com/nipy/nipype/pull/992)
23-
* FIX: Corrected Freesurfer SegStats _list_outputs to avoid error if summary_file is
27+
* FIX: Corrected Freesurfer SegStats _list_outputs to avoid error if summary_file is
2428
undefined (issue #994)(https://https://github.com/nipy/nipype/pull/996)
2529
* FIX: OpenfMRI support and FSL 5.0.7 changes (https://github.com/nipy/nipype/pull/1006)
2630
* FIX: Output prefix in SPM Normalize with modulation (https://github.com/nipy/nipype/pull/1023)
2731
* ENH: Usability improvements in cluster environments (https://github.com/nipy/nipype/pull/1025)
2832
* ENH: ANTs JointFusion() (https://github.com/nipy/nipype/pull/1042)
33+
* ENH: Added csvReader() utility (https://github.com/nipy/nipype/pull/1044)
2934

3035
Release 0.10.0 (October 10, 2014)
3136
============
3237

3338
* ENH: New miscelaneous interfaces: SplitROIs (mapper), MergeROIs (reducer)
3439
to enable parallel processing of very large images.
3540
* ENH: Updated FSL interfaces: BEDPOSTX and XFibres, former interfaces are still
36-
available with the version suffix: BEDPOSTX4 and XFibres4. Added gpu
41+
available with the version suffix: BEDPOSTX4 and XFibres4. Added gpu
3742
versions of BEDPOSTX: BEDPOSTXGPU, BEDPOSTX5GPU, and BEDPOSTX4GPU
3843
* ENH: Added experimental support for MIPAV algorithms thorugh JIST plugins
3944
* ENH: New dipy interfaces: Denoise, Resample
4045
* ENH: New Freesurfer interfaces: Tkregister2 (for conversion of fsl style matrices to freesurfer format), MRIPretess
4146
* ENH: New FSL interfaces: WarpPoints, WarpPointsToStd, EpiReg, ProbTrackX2, WarpUtils, ConvertWarp
4247
* ENH: New miscelaneous interfaces: AddCSVRow, NormalizeProbabilityMapSet, AddNoise
4348
* ENH: New AFNI interfaces: Eval, Means, SVMTest, SVMTrain
44-
* ENH: FUGUE interface has been refactored to use the name_template system, 3 examples
49+
* ENH: FUGUE interface has been refactored to use the name_template system, 3 examples
4550
added to doctests, some bugs solved.
4651
* API: Interfaces to external packages are no longer available in the top-level
4752
``nipype`` namespace, and must be imported directly (e.g.
4853
``from nipype.interfaces import fsl``).
49-
* ENH: Support for elastix via a set of new interfaces: Registration, ApplyWarp,
54+
* ENH: Support for elastix via a set of new interfaces: Registration, ApplyWarp,
5055
AnalyzeWarp, PointsWarp, and EditTransform
5156
* ENH: New ANTs interface: ApplyTransformsToPoints, LaplacianThickness
5257
* ENH: New Diffusion Toolkit interface: TrackMerge
@@ -62,7 +67,7 @@ Release 0.10.0 (October 10, 2014)
6267
* ENH: New color mode for write_graph
6368
* ENH: You can now force MapNodes to be run serially
6469
* ENH: Added ANTS based openfmri workflow
65-
* ENH: MapNode now supports flattening of nested lists
70+
* ENH: MapNode now supports flattening of nested lists
6671
* ENH: Support for headless mode using Xvfb
6772
* ENH: nipype_display_crash has a debugging mode
6873
* FIX: MRTrix tracking algorithms were ignoring mask parameters.

examples/fmri_ants_openfmri.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def create_reg_workflow(name='registration'):
218218
reg.inputs.args = '--float'
219219
reg.inputs.output_warped_image = 'output_warped_image.nii.gz'
220220
reg.inputs.num_threads = 4
221-
reg.plugin_args = {'qsub_args': '-pe orte 4',
221+
reg.plugin_args = {'qsub_args': '-pe orte 4',
222222
'sbatch_args': '--mem=6G -c 4'}
223223
register.connect(stripper, 'out_file', reg, 'moving_image')
224224
register.connect(inputnode,'target_image_brain', reg,'fixed_image')
@@ -428,7 +428,7 @@ def create_fs_reg_workflow(name='registration'):
428428
reg.inputs.args = '--float'
429429
reg.inputs.output_warped_image = 'output_warped_image.nii.gz'
430430
reg.inputs.num_threads = 4
431-
reg.plugin_args = {'qsub_args': '-pe orte 4',
431+
reg.plugin_args = {'qsub_args': '-pe orte 4',
432432
'sbatch_args': '--mem=6G -c 4'}
433433
register.connect(stripper, 'out_file', reg, 'moving_image')
434434
register.connect(inputnode,'target_image', reg,'fixed_image')
@@ -562,17 +562,17 @@ def get_subjectinfo(subject_id, base_dir, task_id, model_id):
562562
'task%03d_run*' % (idx + 1))))
563563
runs = [int(val[-3:]) for val in files]
564564
run_ids.insert(idx, runs)
565-
json_info = os.path.join(base_dir, subject_id, 'BOLD',
566-
'task%03d_run%03d' % (task_id, run_ids[task_id - 1][0]),
565+
json_info = os.path.join(base_dir, subject_id, 'BOLD',
566+
'task%03d_run%03d' % (task_id, run_ids[task_id - 1][0]),
567567
'bold_scaninfo.json')
568568
if os.path.exists(json_info):
569569
import json
570570
with open(json_info, 'rt') as fp:
571571
data = json.load(fp)
572572
TR = data['global']['const']['RepetitionTime']/1000.
573573
else:
574-
task_scan_key = os.path.join(base_dir, subject_id, 'BOLD',
575-
'task%03d_run%03d' % (task_id, run_ids[task_id - 1][0]),
574+
task_scan_key = os.path.join(base_dir, subject_id, 'BOLD',
575+
'task%03d_run%03d' % (task_id, run_ids[task_id - 1][0]),
576576
'scan_key.txt')
577577
if os.path.exists(task_scan_key):
578578
TR = np.genfromtxt(task_scan_key)[1]
@@ -667,7 +667,7 @@ def analyze_openfmri_dataset(data_dir, subject=None, model_id=None,
667667
name='datasource')
668668
datasource.inputs.base_directory = data_dir
669669
datasource.inputs.template = '*'
670-
670+
671671
if has_contrast:
672672
datasource.inputs.field_template = {'anat': '%s/anatomy/T1_001.nii.gz',
673673
'bold': '%s/BOLD/task%03d_r*/bold.nii.gz',
@@ -909,18 +909,18 @@ def split_files(in_files, splits):
909909
splitfunc, 'in_files')
910910

911911
if subjects_dir:
912-
get_roi_mean = pe.MapNode(fs.SegStats(default_color_table=True),
912+
get_roi_mean = pe.MapNode(fs.SegStats(default_color_table=True),
913913
iterfield=['in_file'], name='get_aparc_means')
914914
get_roi_mean.inputs.avgwf_txt_file = True
915915
wf.connect(fixed_fx.get_node('outputspec'), 'copes', get_roi_mean, 'in_file')
916916
wf.connect(registration, 'outputspec.aparc', get_roi_mean, 'segmentation_file')
917-
918-
get_roi_tsnr = pe.MapNode(fs.SegStats(default_color_table=True),
917+
918+
get_roi_tsnr = pe.MapNode(fs.SegStats(default_color_table=True),
919919
iterfield=['in_file'], name='get_aparc_tsnr')
920920
get_roi_tsnr.inputs.avgwf_txt_file = True
921921
wf.connect(tsnr, 'tsnr_file', get_roi_tsnr, 'in_file')
922922
wf.connect(registration, 'outputspec.aparc', get_roi_tsnr, 'segmentation_file')
923-
923+
924924
"""
925925
Connect to a datasink
926926
"""

0 commit comments

Comments
 (0)