@@ -743,32 +743,3 @@ def _list_outputs(self):
743
743
outputs ['sparse_png_file' ] = os .path .join (os .getcwd (), 'sparse.png' )
744
744
outputs ['sparse_svg_file' ] = os .path .join (os .getcwd (), 'sparse.svg' )
745
745
return outputs
746
-
747
- '''
748
-
749
- Need to figure out how this component will work!!! multiple inheritence is causing a big headache
750
-
751
- class SpecifySparseSPMModelInputSpec(SpecifySPMModelInputSpec, SpecifySparseModelInputSpec):
752
- pass
753
-
754
- class SpecifySparseSPMModel(SpecifySparseModel, SpecifySPMModel):
755
- """Combines SPM specific options with sparse options
756
- """
757
- input_spec = SpecifySparseSPMModelInputSpec
758
- output_spec = SpecifySparseModelOutputSpec
759
-
760
- def _generate_design(self, infolist=None):
761
- raise Exception('not working yet')
762
- if (self.inputs.input_units == 'scans') and (self.inputs.output_units == 'secs'):
763
- if isdefined(self.inputs.volumes_in_cluster) and (self.inputs.volumes_in_cluster > 1):
764
- raise NotImplementedError("Cannot scale timings if times are scans and acquisition is clustered")
765
- if isdefined(self.inputs.subject_info):
766
- infolist = self.inputs.subject_info
767
- else:
768
- infolist = gen_info(self.inputs.event_files)
769
- clusterlist = self._generate_clustered_design(infolist)
770
- if not isdefined(self.inputs.concatenate_runs):
771
- super(SpecifySparseSPMModel, self)._generate_design(infolist=clusterlist)
772
- else:
773
- self._generate_spm_design(infolist=clusterlist)
774
- '''
0 commit comments