Skip to content

Commit

Permalink
ref: removing unneeded tests
Browse files Browse the repository at this point in the history
  • Loading branch information
satra committed Nov 1, 2013
1 parent 9c74a67 commit 4a0faa4
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 1,970 deletions.
File renamed without changes.
33 changes: 0 additions & 33 deletions nipype/algorithms/tests/test_rapidart.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,6 @@
import numpy as np


def test_artifactdetect():
input_map = dict(intersect_mask=dict(),
mask_file=dict(),
mask_threshold=dict(),
mask_type=dict(),
norm_threshold=dict(),
parameter_source=dict(mandatory=True,),
realigned_files=dict(mandatory=True,),
realignment_parameters=dict(),
rotation_threshold=dict(),
translation_threshold=dict(),
use_differences=dict(usedefault=True,),
use_norm=dict(usedefault=True,),
zintensity_threshold=dict(),
)
instance = ra.ArtifactDetect()
for key, metadata in input_map.items():
for metakey, value in metadata.items():
yield assert_equal, getattr(instance.inputs.traits()[key], metakey), value


def test_stimuluscorrelation():
input_map = dict(concatenated_design=dict(mandatory=True,),
intensity_values=dict(mandatory=True,),
realignment_parameters=dict(mandatory=True,),
spm_mat_file=dict(mandatory=True,),
)
instance = ra.StimulusCorrelation()
for key, metadata in input_map.items():
for metakey, value in metadata.items():
yield assert_equal, getattr(instance.inputs.traits()[key], metakey), value


def test_ad_init():
ad = ra.ArtifactDetect(use_differences=[True, False])
yield assert_true, ad.inputs.use_differences[0]
Expand Down
Loading

0 comments on commit 4a0faa4

Please sign in to comment.