rpipe 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in ruby-nifti.gemspec
4
+ gemspec
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -21,17 +21,28 @@ def create!
21
21
  if cli_options[:dry_run]
22
22
  pp workflow.build
23
23
  else
24
- write_file(workflow.build)
24
+ begin
25
+ puts write_driver_hash workflow.build, :cli_options => cli_options
26
+ rescue IOError => e
27
+ puts e
28
+ end
25
29
  end
26
30
  end
27
31
 
28
-
29
-
30
- def write_file(workflow_spec, filename = nil)
31
- filename ||= workflow_spec['subid'] + '.yaml'
32
+ def write_driver_hash (workflow_spec, driver_options = {:filename => nil})
33
+ filename = driver_options[:filename] ||= workflow_spec['subid'] + '.yaml'
32
34
 
35
+ if File.exist? filename and ! driver_options[:cli_options][:force]
36
+ raise IOError, "Driver #{filename} already exists; use -f option to force overwrite."
37
+ else
38
+ write_file(workflow_spec, filename)
39
+ end
40
+ end
41
+
42
+ def write_file(workflow_spec, filename)
33
43
  File.open(filename, 'w') { |f| f.puts workflow_spec.to_yaml }
34
44
  raise IOError, "Couldn't write #{filename}}" unless File.exist?(filename)
45
+ "Wrote file #{filename}..."
35
46
  end
36
47
 
37
48
  def load_spec(spec_file)
@@ -54,12 +65,16 @@ def parse_options
54
65
  end
55
66
 
56
67
  opts.on('-r', '--responses_dir RESPONSES_DIR', "Directory containing Button-press Response Logfiles") do |responses_dir|
57
- options[:config][:responses_dir.to_s] = responses_dir
68
+ options[:config][:responses_dir.to_s] = File.expand_path(responses_dir)
58
69
  end
59
70
 
60
71
  opts.on('-d', '--dry-run', "Display Driver without executing it.") do
61
72
  options[:dry_run] = true
62
73
  end
74
+
75
+ opts.on('-f', '--force', "Overwrite drivers if they exist.") do
76
+ options[:force] = true
77
+ end
63
78
 
64
79
  opts.on_tail('-h', '--help', "Show this message") { puts(parser); exit }
65
80
  opts.on_tail("Example: #{File.basename(__FILE__)} mrt00001")
@@ -60,7 +60,7 @@ for crun = 1:nrun
60
60
  inputs{offset + 3, crun} = { strcat(statsdir, conditions{index} ) }; % fMRI model specification: Multiple Conditions File - cfg_entry
61
61
  inputs{offset + 4, crun} = { strcat(statsdir, regressors{index} ) }; % fMRI model specification: Multiple Regressors File - cfg_entry
62
62
  inputs{offset + 5, crun} = 'Omnibus F'; % fMRI model specification: Omnibus Title - cfg_entry
63
- inputs{offset + 6, crun} = fcontrast_vector; % fMRI model specification: Omnibus Contrast - cfg_entry
63
+ inputs{offset + 6, crun} = fcontrast_vector; % fMRI model specification: Omnibus Contrast - cfg_entry
64
64
  inputs{offset + 7, crun} = 'PV > NV'; % fMRI model specification: T Contrast 1 Title - cfg_entry
65
65
  inputs{offset + 8, crun} = tcontrast_1_vector; % fMRI model specification: T Contrast 1 Vector - cfg_entry
66
66
  inputs{offset + 9, crun} = 'NV > PV'; % fMRI model specification: T Contrast 2 Title - cfg_entry
@@ -56,10 +56,10 @@ class ReconJobGenerator < JobGenerator
56
56
 
57
57
  scan['dir'] = dataset.relative_dataset_path
58
58
  scan['type'] = 'func'
59
- scan['z_slices'] = raw_image_file.num_slices
60
- scan['bold_reps'] = raw_image_file.bold_reps
61
- scan['volumes_to_skip'] = @config['volumes_to_skip']
62
- scan['rep_time'] = raw_image_file.rep_time.in_seconds
59
+ scan['z_slices'] = raw_image_file.num_slices.to_i
60
+ scan['bold_reps'] = raw_image_file.bold_reps.to_i
61
+ scan['volumes_to_skip'] = @config['volumes_to_skip'].to_i
62
+ scan['rep_time'] = raw_image_file.rep_time.to_f.in_seconds
63
63
  scan['label'] = dataset.series_description.escape_filename
64
64
  # scan['task'] = '?'
65
65
  # scan['physio_files'] = "#TODO"
@@ -1,165 +1,167 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rpipe}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristopher Kosmatka", "Erik Kastman"]
12
- s.date = %q{2010-10-29}
12
+ s.date = %q{2011-03-07}
13
13
  s.description = %q{Neuroimaging preprocessing the Ruby way}
14
14
  s.email = %q{kjkosmatka@gmail.com}
15
- s.executables = ["swallow_batch_run.rb", "create_driver.rb", "rpipe"]
15
+ s.executables = ["swallow_batch_run.rb", "rpipe", "create_driver.rb"]
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE",
18
- "README",
19
- "README.rdoc"
18
+ "README",
19
+ "README.rdoc"
20
20
  ]
21
21
  s.files = [
22
22
  ".document",
23
- ".gitignore",
24
- "LICENSE",
25
- "README",
26
- "README.rdoc",
27
- "Rakefile",
28
- "VERSION",
29
- "bin/create_driver.rb",
30
- "bin/rpipe",
31
- "bin/swallow_batch_run.rb",
32
- "lib/core_additions.rb",
33
- "lib/custom_methods/JohnsonMerit220Visit1Preproc.m",
34
- "lib/custom_methods/JohnsonMerit220Visit1Preproc.rb",
35
- "lib/custom_methods/JohnsonMerit220Visit1Preproc_job.m",
36
- "lib/custom_methods/JohnsonMerit220Visit1Stats.m",
37
- "lib/custom_methods/JohnsonMerit220Visit1Stats.rb",
38
- "lib/custom_methods/JohnsonMerit220Visit1Stats_job.m",
39
- "lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc.m",
40
- "lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc.rb",
41
- "lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc_job.m",
42
- "lib/custom_methods/JohnsonTbiLongitudinalSnodStats.m",
43
- "lib/custom_methods/JohnsonTbiLongitudinalSnodStats.rb",
44
- "lib/custom_methods/JohnsonTbiLongitudinalSnodStats_job.m",
45
- "lib/custom_methods/ReconWithHello.rb",
46
- "lib/default_logger.rb",
47
- "lib/default_methods/default_preproc.rb",
48
- "lib/default_methods/default_recon.rb",
49
- "lib/default_methods/default_stats.rb",
50
- "lib/default_methods/recon/physionoise_helper.rb",
51
- "lib/default_methods/recon/raw_sequence.rb",
52
- "lib/generators/job_generator.rb",
53
- "lib/generators/preproc_job_generator.rb",
54
- "lib/generators/recon_job_generator.rb",
55
- "lib/generators/stats_job_generator.rb",
56
- "lib/generators/workflow_generator.rb",
57
- "lib/global_additions.rb",
58
- "lib/logfile.rb",
59
- "lib/matlab_helpers/CreateFunctionalVolumeStruct.m",
60
- "lib/matlab_helpers/import_csv.m",
61
- "lib/matlab_helpers/matlab_queue.rb",
62
- "lib/matlab_helpers/prepare_onsets.m",
63
- "lib/rpipe.rb",
64
- "rpipe.gemspec",
65
- "spec/generators/preproc_job_generator_spec.rb",
66
- "spec/generators/recon_job_generator_spec.rb",
67
- "spec/generators/stats_job_generator_spec.rb",
68
- "spec/generators/workflow_generator_spec.rb",
69
- "spec/helper_spec.rb",
70
- "spec/integration/johnson.merit220.visit1_spec.rb",
71
- "spec/integration/johnson.tbi.longitudinal.snod_spec.rb",
72
- "spec/logfile_spec.rb",
73
- "spec/matlab_queue_spec.rb",
74
- "spec/merit220_stats_spec.rb",
75
- "spec/physio_spec.rb",
76
- "test/drivers/merit220_workflow_sample.yml",
77
- "test/drivers/mrt00000.yml",
78
- "test/drivers/mrt00015.yml",
79
- "test/drivers/mrt00015_hello.yml",
80
- "test/drivers/mrt00015_withphys.yml",
81
- "test/drivers/tbi000.yml",
82
- "test/drivers/tbi000_separatevisits.yml",
83
- "test/drivers/tmp.yml",
84
- "test/fixtures/faces3_recognitionA.mat",
85
- "test/fixtures/faces3_recognitionA.txt",
86
- "test/fixtures/faces3_recognitionA_equal.csv",
87
- "test/fixtures/faces3_recognitionA_unequal.csv",
88
- "test/fixtures/faces3_recognitionB_incmisses.txt",
89
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CPd3R_40.txt",
90
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CPd3_40.txt",
91
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CPttl_40.txt",
92
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CRTd3R_40.txt",
93
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CRTd3_40.txt",
94
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CRTttl_40.txt",
95
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_CRTd3R_40.txt",
96
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_CRTd3_40.txt",
97
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_CRTttl_40.txt",
98
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_RRT_40.txt",
99
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_RVT_40.txt",
100
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_card_spline_40.txt",
101
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_resp_spline_40.txt",
102
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_RRT_40.txt",
103
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_RVT_40.txt",
104
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_CRTd3R_40.txt",
105
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_CRTd3_40.txt",
106
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_CRTttl_40.txt",
107
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_RRT_40.txt",
108
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_RVT_40.txt",
109
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_card_spline_40.txt",
110
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_resp_spline_40.txt",
111
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_card_spline_40.txt",
112
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_resp_spline_40.txt",
113
- "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_resp_spline_downsampled_40.txt",
114
- "test/fixtures/ruport_summary.yml",
115
- "test/fixtures/valid_scans.yaml",
116
- "test/helper.rb",
117
- "test/test_dynamic_method_inclusion.rb",
118
- "test/test_includes.rb",
119
- "test/test_integrative_johnson.merit220.visit1.rb",
120
- "test/test_preproc.rb",
121
- "test/test_recon.rb",
122
- "test/test_rpipe.rb",
123
- "vendor/output_catcher.rb",
124
- "vendor/trollop.rb"
23
+ "Gemfile",
24
+ "LICENSE",
25
+ "README",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "VERSION",
29
+ "bin/create_driver.rb",
30
+ "bin/rpipe",
31
+ "bin/swallow_batch_run.rb",
32
+ "lib/core_additions.rb",
33
+ "lib/custom_methods/JohnsonMerit220Visit1Preproc.m",
34
+ "lib/custom_methods/JohnsonMerit220Visit1Preproc.rb",
35
+ "lib/custom_methods/JohnsonMerit220Visit1Preproc_job.m",
36
+ "lib/custom_methods/JohnsonMerit220Visit1Stats.m",
37
+ "lib/custom_methods/JohnsonMerit220Visit1Stats.rb",
38
+ "lib/custom_methods/JohnsonMerit220Visit1Stats_job.m",
39
+ "lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc.m",
40
+ "lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc.rb",
41
+ "lib/custom_methods/JohnsonTbiLongitudinalSnodPreproc_job.m",
42
+ "lib/custom_methods/JohnsonTbiLongitudinalSnodStats.m",
43
+ "lib/custom_methods/JohnsonTbiLongitudinalSnodStats.rb",
44
+ "lib/custom_methods/JohnsonTbiLongitudinalSnodStats_job.m",
45
+ "lib/custom_methods/ReconWithHello.rb",
46
+ "lib/default_logger.rb",
47
+ "lib/default_methods/default_preproc.rb",
48
+ "lib/default_methods/default_recon.rb",
49
+ "lib/default_methods/default_stats.rb",
50
+ "lib/default_methods/recon/physionoise_helper.rb",
51
+ "lib/default_methods/recon/raw_sequence.rb",
52
+ "lib/generators/job_generator.rb",
53
+ "lib/generators/preproc_job_generator.rb",
54
+ "lib/generators/recon_job_generator.rb",
55
+ "lib/generators/stats_job_generator.rb",
56
+ "lib/generators/workflow_generator.rb",
57
+ "lib/global_additions.rb",
58
+ "lib/logfile.rb",
59
+ "lib/matlab_helpers/CreateFunctionalVolumeStruct.m",
60
+ "lib/matlab_helpers/import_csv.m",
61
+ "lib/matlab_helpers/matlab_queue.rb",
62
+ "lib/matlab_helpers/prepare_onsets.m",
63
+ "lib/rpipe.rb",
64
+ "rpipe.gemspec",
65
+ "spec/generators/preproc_job_generator_spec.rb",
66
+ "spec/generators/recon_job_generator_spec.rb",
67
+ "spec/generators/stats_job_generator_spec.rb",
68
+ "spec/generators/workflow_generator_spec.rb",
69
+ "spec/helper_spec.rb",
70
+ "spec/integration/johnson.merit220.visit1_spec.rb",
71
+ "spec/integration/johnson.tbi.longitudinal.snod_spec.rb",
72
+ "spec/logfile_spec.rb",
73
+ "spec/matlab_queue_spec.rb",
74
+ "spec/merit220_stats_spec.rb",
75
+ "spec/physio_spec.rb",
76
+ "test/drivers/merit220_workflow_sample.yml",
77
+ "test/drivers/mrt00000.yml",
78
+ "test/drivers/mrt00015.yml",
79
+ "test/drivers/mrt00015_hello.yml",
80
+ "test/drivers/mrt00015_withphys.yml",
81
+ "test/drivers/tbi000.yml",
82
+ "test/drivers/tbi000_separatevisits.yml",
83
+ "test/drivers/tmp.yml",
84
+ "test/fixtures/faces3_recognitionA.mat",
85
+ "test/fixtures/faces3_recognitionA.txt",
86
+ "test/fixtures/faces3_recognitionA_equal.csv",
87
+ "test/fixtures/faces3_recognitionA_unequal.csv",
88
+ "test/fixtures/faces3_recognitionB_incmisses.txt",
89
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CPd3R_40.txt",
90
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CPd3_40.txt",
91
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CPttl_40.txt",
92
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CRTd3R_40.txt",
93
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CRTd3_40.txt",
94
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_CRTttl_40.txt",
95
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_CRTd3R_40.txt",
96
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_CRTd3_40.txt",
97
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_CRTttl_40.txt",
98
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_RRT_40.txt",
99
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_RVT_40.txt",
100
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_card_spline_40.txt",
101
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_HalfTR_resp_spline_40.txt",
102
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_RRT_40.txt",
103
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_RVT_40.txt",
104
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_CRTd3R_40.txt",
105
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_CRTd3_40.txt",
106
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_CRTttl_40.txt",
107
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_RRT_40.txt",
108
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_RVT_40.txt",
109
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_card_spline_40.txt",
110
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_TR_resp_spline_40.txt",
111
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_card_spline_40.txt",
112
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_resp_spline_40.txt",
113
+ "test/fixtures/physionoise_regressors/EPI__fMRI_Task1_resp_spline_downsampled_40.txt",
114
+ "test/fixtures/ruport_summary.yml",
115
+ "test/fixtures/valid_scans.yaml",
116
+ "test/helper.rb",
117
+ "test/test_dynamic_method_inclusion.rb",
118
+ "test/test_includes.rb",
119
+ "test/test_integrative_johnson.merit220.visit1.rb",
120
+ "test/test_preproc.rb",
121
+ "test/test_recon.rb",
122
+ "test/test_rpipe.rb",
123
+ "vendor/output_catcher.rb",
124
+ "vendor/trollop.rb"
125
125
  ]
126
126
  s.homepage = %q{http://github.com/brainmap/rpipe}
127
- s.rdoc_options = ["--charset=UTF-8"]
128
127
  s.require_paths = ["lib"]
129
- s.rubygems_version = %q{1.3.6}
128
+ s.rubygems_version = %q{1.4.2}
130
129
  s.summary = %q{Neuroimaging preprocessing the Ruby way}
131
130
  s.test_files = [
132
131
  "spec/generators/preproc_job_generator_spec.rb",
133
- "spec/generators/stats_job_generator_spec.rb",
134
- "spec/generators/recon_job_generator_spec.rb",
135
- "spec/generators/workflow_generator_spec.rb",
136
- "spec/matlab_queue_spec.rb",
137
- "spec/logfile_spec.rb",
138
- "spec/physio_spec.rb",
139
- "spec/integration/johnson.merit220.visit1_spec.rb",
140
- "spec/integration/johnson.tbi.longitudinal.snod_spec.rb",
141
- "spec/merit220_stats_spec.rb",
142
- "spec/helper_spec.rb",
143
- "test/helper.rb",
144
- "test/test_dynamic_method_inclusion.rb",
145
- "test/test_includes.rb",
146
- "test/test_integrative_johnson.merit220.visit1.rb",
147
- "test/test_preproc.rb",
148
- "test/test_recon.rb",
149
- "test/test_rpipe.rb"
132
+ "spec/generators/recon_job_generator_spec.rb",
133
+ "spec/generators/stats_job_generator_spec.rb",
134
+ "spec/generators/workflow_generator_spec.rb",
135
+ "spec/helper_spec.rb",
136
+ "spec/integration/johnson.merit220.visit1_spec.rb",
137
+ "spec/integration/johnson.tbi.longitudinal.snod_spec.rb",
138
+ "spec/logfile_spec.rb",
139
+ "spec/matlab_queue_spec.rb",
140
+ "spec/merit220_stats_spec.rb",
141
+ "spec/physio_spec.rb",
142
+ "test/helper.rb",
143
+ "test/test_dynamic_method_inclusion.rb",
144
+ "test/test_includes.rb",
145
+ "test/test_integrative_johnson.merit220.visit1.rb",
146
+ "test/test_preproc.rb",
147
+ "test/test_recon.rb",
148
+ "test/test_rpipe.rb"
150
149
  ]
151
150
 
152
151
  if s.respond_to? :specification_version then
153
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
154
152
  s.specification_version = 3
155
153
 
156
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
154
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
155
+ s.add_runtime_dependency(%q<rpipe>, [">= 0"])
156
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
157
157
  s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
158
158
  s.add_runtime_dependency(%q<metamri>, [">= 0"])
159
159
  s.add_runtime_dependency(%q<log4r>, [">= 0"])
160
160
  s.add_runtime_dependency(%q<POpen4>, [">= 0"])
161
161
  s.add_runtime_dependency(%q<ruport>, [">= 0"])
162
162
  else
163
+ s.add_dependency(%q<rpipe>, [">= 0"])
164
+ s.add_dependency(%q<shoulda>, [">= 0"])
163
165
  s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
164
166
  s.add_dependency(%q<metamri>, [">= 0"])
165
167
  s.add_dependency(%q<log4r>, [">= 0"])
@@ -167,6 +169,8 @@ Gem::Specification.new do |s|
167
169
  s.add_dependency(%q<ruport>, [">= 0"])
168
170
  end
169
171
  else
172
+ s.add_dependency(%q<rpipe>, [">= 0"])
173
+ s.add_dependency(%q<shoulda>, [">= 0"])
170
174
  s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
171
175
  s.add_dependency(%q<metamri>, [">= 0"])
172
176
  s.add_dependency(%q<log4r>, [">= 0"])
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpipe
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 31
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 1
9
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
10
11
  platform: ruby
11
12
  authors:
12
13
  - Kristopher Kosmatka
@@ -15,75 +16,113 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2010-10-29 00:00:00 -05:00
19
+ date: 2011-03-07 00:00:00 -06:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
- name: thoughtbot-shoulda
23
23
  prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
24
+ name: rpipe
25
+ type: :runtime
26
+ version_requirements: &id001 !ruby/object:Gem::Requirement
27
+ none: false
25
28
  requirements:
26
29
  - - ">="
27
30
  - !ruby/object:Gem::Version
31
+ hash: 3
28
32
  segments:
29
33
  - 0
30
34
  version: "0"
31
- type: :development
32
- version_requirements: *id001
35
+ requirement: *id001
33
36
  - !ruby/object:Gem::Dependency
34
- name: metamri
35
37
  prerelease: false
36
- requirement: &id002 !ruby/object:Gem::Requirement
38
+ name: shoulda
39
+ type: :development
40
+ version_requirements: &id002 !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ">="
39
44
  - !ruby/object:Gem::Version
45
+ hash: 3
40
46
  segments:
41
47
  - 0
42
48
  version: "0"
43
- type: :runtime
44
- version_requirements: *id002
49
+ requirement: *id002
45
50
  - !ruby/object:Gem::Dependency
46
- name: log4r
47
51
  prerelease: false
48
- requirement: &id003 !ruby/object:Gem::Requirement
52
+ name: thoughtbot-shoulda
53
+ type: :development
54
+ version_requirements: &id003 !ruby/object:Gem::Requirement
55
+ none: false
49
56
  requirements:
50
57
  - - ">="
51
58
  - !ruby/object:Gem::Version
59
+ hash: 3
52
60
  segments:
53
61
  - 0
54
62
  version: "0"
55
- type: :runtime
56
- version_requirements: *id003
63
+ requirement: *id003
57
64
  - !ruby/object:Gem::Dependency
58
- name: POpen4
59
65
  prerelease: false
60
- requirement: &id004 !ruby/object:Gem::Requirement
66
+ name: metamri
67
+ type: :runtime
68
+ version_requirements: &id004 !ruby/object:Gem::Requirement
69
+ none: false
61
70
  requirements:
62
71
  - - ">="
63
72
  - !ruby/object:Gem::Version
73
+ hash: 3
64
74
  segments:
65
75
  - 0
66
76
  version: "0"
77
+ requirement: *id004
78
+ - !ruby/object:Gem::Dependency
79
+ prerelease: false
80
+ name: log4r
67
81
  type: :runtime
68
- version_requirements: *id004
82
+ version_requirements: &id005 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ hash: 3
88
+ segments:
89
+ - 0
90
+ version: "0"
91
+ requirement: *id005
69
92
  - !ruby/object:Gem::Dependency
70
- name: ruport
71
93
  prerelease: false
72
- requirement: &id005 !ruby/object:Gem::Requirement
94
+ name: POpen4
95
+ type: :runtime
96
+ version_requirements: &id006 !ruby/object:Gem::Requirement
97
+ none: false
73
98
  requirements:
74
99
  - - ">="
75
100
  - !ruby/object:Gem::Version
101
+ hash: 3
76
102
  segments:
77
103
  - 0
78
104
  version: "0"
105
+ requirement: *id006
106
+ - !ruby/object:Gem::Dependency
107
+ prerelease: false
108
+ name: ruport
79
109
  type: :runtime
80
- version_requirements: *id005
110
+ version_requirements: &id007 !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ hash: 3
116
+ segments:
117
+ - 0
118
+ version: "0"
119
+ requirement: *id007
81
120
  description: Neuroimaging preprocessing the Ruby way
82
121
  email: kjkosmatka@gmail.com
83
122
  executables:
84
123
  - swallow_batch_run.rb
85
- - create_driver.rb
86
124
  - rpipe
125
+ - create_driver.rb
87
126
  extensions: []
88
127
 
89
128
  extra_rdoc_files:
@@ -92,7 +131,7 @@ extra_rdoc_files:
92
131
  - README.rdoc
93
132
  files:
94
133
  - .document
95
- - .gitignore
134
+ - Gemfile
96
135
  - LICENSE
97
136
  - README
98
137
  - README.rdoc
@@ -199,43 +238,47 @@ homepage: http://github.com/brainmap/rpipe
199
238
  licenses: []
200
239
 
201
240
  post_install_message:
202
- rdoc_options:
203
- - --charset=UTF-8
241
+ rdoc_options: []
242
+
204
243
  require_paths:
205
244
  - lib
206
245
  required_ruby_version: !ruby/object:Gem::Requirement
246
+ none: false
207
247
  requirements:
208
248
  - - ">="
209
249
  - !ruby/object:Gem::Version
250
+ hash: 3
210
251
  segments:
211
252
  - 0
212
253
  version: "0"
213
254
  required_rubygems_version: !ruby/object:Gem::Requirement
255
+ none: false
214
256
  requirements:
215
257
  - - ">="
216
258
  - !ruby/object:Gem::Version
259
+ hash: 3
217
260
  segments:
218
261
  - 0
219
262
  version: "0"
220
263
  requirements: []
221
264
 
222
265
  rubyforge_project:
223
- rubygems_version: 1.3.6
266
+ rubygems_version: 1.4.2
224
267
  signing_key:
225
268
  specification_version: 3
226
269
  summary: Neuroimaging preprocessing the Ruby way
227
270
  test_files:
228
271
  - spec/generators/preproc_job_generator_spec.rb
229
- - spec/generators/stats_job_generator_spec.rb
230
272
  - spec/generators/recon_job_generator_spec.rb
273
+ - spec/generators/stats_job_generator_spec.rb
231
274
  - spec/generators/workflow_generator_spec.rb
232
- - spec/matlab_queue_spec.rb
233
- - spec/logfile_spec.rb
234
- - spec/physio_spec.rb
275
+ - spec/helper_spec.rb
235
276
  - spec/integration/johnson.merit220.visit1_spec.rb
236
277
  - spec/integration/johnson.tbi.longitudinal.snod_spec.rb
278
+ - spec/logfile_spec.rb
279
+ - spec/matlab_queue_spec.rb
237
280
  - spec/merit220_stats_spec.rb
238
- - spec/helper_spec.rb
281
+ - spec/physio_spec.rb
239
282
  - test/helper.rb
240
283
  - test/test_dynamic_method_inclusion.rb
241
284
  - test/test_includes.rb
data/.gitignore DELETED
@@ -1,23 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- ._*
6
- *.tmproj
7
- tmtags
8
-
9
- ## EMACS
10
- *~
11
- \#*
12
- .\#*
13
-
14
- ## VIM
15
- *.swp
16
-
17
- ## PROJECT::GENERAL
18
- coverage
19
- rdoc
20
- pkg
21
-
22
- ## PROJECT::SPECIFIC
23
- doc